Loading services/core/java/com/android/server/trust/TrustManagerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -186,12 +186,16 @@ public class TrustManagerService extends SystemService { if (resolveInfo.serviceInfo == null) continue; String packageName = resolveInfo.serviceInfo.packageName; // STOPSHIP Reenable this check once the GMS Core prebuild library has the // permission. /* if (pm.checkPermission(PERMISSION_PROVIDE_AGENT, packageName) != PackageManager.PERMISSION_GRANTED) { Log.w(TAG, "Skipping agent because package " + packageName + " does not have permission " + PERMISSION_PROVIDE_AGENT + "."); continue; } */ ComponentName name = getComponentName(resolveInfo); if (!enabledAgents.contains(name)) continue; Loading Loading
services/core/java/com/android/server/trust/TrustManagerService.java +4 −0 Original line number Diff line number Diff line Loading @@ -186,12 +186,16 @@ public class TrustManagerService extends SystemService { if (resolveInfo.serviceInfo == null) continue; String packageName = resolveInfo.serviceInfo.packageName; // STOPSHIP Reenable this check once the GMS Core prebuild library has the // permission. /* if (pm.checkPermission(PERMISSION_PROVIDE_AGENT, packageName) != PackageManager.PERMISSION_GRANTED) { Log.w(TAG, "Skipping agent because package " + packageName + " does not have permission " + PERMISSION_PROVIDE_AGENT + "."); continue; } */ ComponentName name = getComponentName(resolveInfo); if (!enabledAgents.contains(name)) continue; Loading