Loading services/core/java/com/android/server/am/ActivityManagerService.java +10 −10 Original line number Diff line number Diff line Loading @@ -14256,16 +14256,6 @@ public class ActivityManagerService extends IActivityManager.Stub } } boolean timeoutExempt = false; if (action != null) { if (getBackgroundLaunchBroadcasts().contains(action)) { if (DEBUG_BACKGROUND_CHECK) { Slog.i(TAG, "Broadcast action " + action + " forcing include-background"); } intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); } if (Process.isSdkSandboxUid(realCallingUid)) { SdkSandboxManagerLocal sdkSandboxManagerLocal = LocalManagerRegistry.getManager( SdkSandboxManagerLocal.class); Loading @@ -14276,6 +14266,16 @@ public class ActivityManagerService extends IActivityManager.Stub sdkSandboxManagerLocal.enforceAllowedToSendBroadcast(intent); } boolean timeoutExempt = false; if (action != null) { if (getBackgroundLaunchBroadcasts().contains(action)) { if (DEBUG_BACKGROUND_CHECK) { Slog.i(TAG, "Broadcast action " + action + " forcing include-background"); } intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); } switch (action) { case Intent.ACTION_MEDIA_SCANNER_SCAN_FILE: UserManagerInternal umInternal = LocalServices.getService( Loading
services/core/java/com/android/server/am/ActivityManagerService.java +10 −10 Original line number Diff line number Diff line Loading @@ -14256,16 +14256,6 @@ public class ActivityManagerService extends IActivityManager.Stub } } boolean timeoutExempt = false; if (action != null) { if (getBackgroundLaunchBroadcasts().contains(action)) { if (DEBUG_BACKGROUND_CHECK) { Slog.i(TAG, "Broadcast action " + action + " forcing include-background"); } intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); } if (Process.isSdkSandboxUid(realCallingUid)) { SdkSandboxManagerLocal sdkSandboxManagerLocal = LocalManagerRegistry.getManager( SdkSandboxManagerLocal.class); Loading @@ -14276,6 +14266,16 @@ public class ActivityManagerService extends IActivityManager.Stub sdkSandboxManagerLocal.enforceAllowedToSendBroadcast(intent); } boolean timeoutExempt = false; if (action != null) { if (getBackgroundLaunchBroadcasts().contains(action)) { if (DEBUG_BACKGROUND_CHECK) { Slog.i(TAG, "Broadcast action " + action + " forcing include-background"); } intent.addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND); } switch (action) { case Intent.ACTION_MEDIA_SCANNER_SCAN_FILE: UserManagerInternal umInternal = LocalServices.getService(