@Override public void onReceive(final Context context, final Intent intent) {
		// Currently, just blindly start the device owner provisioning, since it is idempotent, at least at present.
		if (Intent.ACTION_MY_PACKAGE_REPLACED.equals(intent.getAction()))
			if (Users.isOwner()) IslandProvisioning.startOwnerUserPostProvisioningIfNeeded(context);
	}
Handle {@link Intent#ACTION_MY_PACKAGE_REPLACED}

Created by Oasis on 2017/7/20.
engine/src/main/java/com/oasisfeng/island/AppUpdateReceiver.java