public static void requestSyncWhenResumed(final Activity activity, final String pkg, final UserHandle user) {
		activity.getFragmentManager().beginTransaction().add(AppStateSyncFragment.create(pkg, user), pkg + "@" + Users.toId(user)).commit();
	}
Force refresh the state of specified app when activity is resumed
mobile/src/main/java/com/oasisfeng/island/data/helper/AppStateTrackingHelper.java