private boolean ensureCallerMatchesPackage(final String pkg) {
		try {
			final int uid = new PackageManagerCompat(mContext).getPackageUid(pkg);		// TODO: Cache?
			return uid == Binder.getCallingUid();
		} catch (final PackageManager.NameNotFoundException e) {
			return false;
		}
	}
Allow client to call {@link RestrictionsManager#requestPermission(String, String, PersistableBundle)} in owner user when Island is not device owner.

Created by Oasis on 2019-6-6.
open/src/main/java/com/oasisfeng/island/api/PermissionForwardingRestrictionsManager.java