Loading core/java/android/content/pm/flags.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -167,13 +167,6 @@ flag { is_fixed_read_only: true } flag { name: "allow_sdk_sandbox_query_intent_activities" namespace: "package_manager_service" description: "Feature flag to allow the sandbox SDK to query intent activities of the client app." bug: "295842134" } flag { name: "emergency_install_permission" is_exported: true Loading services/core/java/com/android/server/pm/AppsFilterBase.java +1 −3 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ import static com.android.server.pm.AppsFilterUtils.requestsQueryAllPackages; import android.annotation.NonNull; import android.annotation.Nullable; import android.content.pm.Flags; import android.content.pm.SigningDetails; import android.os.Binder; import android.os.Handler; Loading Loading @@ -320,8 +319,7 @@ public abstract class AppsFilterBase implements AppsFilterSnapshot { } private static boolean isQueryableBySdkSandbox(int callingUid, int targetUid) { return Flags.allowSdkSandboxQueryIntentActivities() && targetUid == Process.getAppUidForSdkSandboxUid(callingUid); return targetUid == Process.getAppUidForSdkSandboxUid(callingUid); } /** Loading Loading
core/java/android/content/pm/flags.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -167,13 +167,6 @@ flag { is_fixed_read_only: true } flag { name: "allow_sdk_sandbox_query_intent_activities" namespace: "package_manager_service" description: "Feature flag to allow the sandbox SDK to query intent activities of the client app." bug: "295842134" } flag { name: "emergency_install_permission" is_exported: true Loading
services/core/java/com/android/server/pm/AppsFilterBase.java +1 −3 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ import static com.android.server.pm.AppsFilterUtils.requestsQueryAllPackages; import android.annotation.NonNull; import android.annotation.Nullable; import android.content.pm.Flags; import android.content.pm.SigningDetails; import android.os.Binder; import android.os.Handler; Loading Loading @@ -320,8 +319,7 @@ public abstract class AppsFilterBase implements AppsFilterSnapshot { } private static boolean isQueryableBySdkSandbox(int callingUid, int targetUid) { return Flags.allowSdkSandboxQueryIntentActivities() && targetUid == Process.getAppUidForSdkSandboxUid(callingUid); return targetUid == Process.getAppUidForSdkSandboxUid(callingUid); } /** Loading