package: avoid un-necessary modification event work.

Change-Id: Ia4b4e3edccf661b8c5f474c5c7474b5f9e497fcc