@Override public void onResume() {
			super.onResume();
			final Activity activity = getActivity(); final Bundle args = getArguments();
			final String pkg = args.getString(KEY_PACKAGE); final UserHandle user = args.getParcelable(KEY_USER);
			if (pkg != null && user != null)
				IslandAppListProvider.getInstance(activity).refreshPackage(pkg, user, false);
			activity.getFragmentManager().beginTransaction().remove(this).commitAllowingStateLoss();
		}
Force refresh the state of specified app when activity is resumed
mobile/src/main/java/com/oasisfeng/island/data/helper/AppStateTrackingHelper.java