Loading services/core/java/com/android/server/PendingIntentUtils.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -34,6 +34,7 @@ public class PendingIntentUtils { public static Bundle createDontSendToRestrictedAppsBundle(@Nullable Bundle bundle) { public static Bundle createDontSendToRestrictedAppsBundle(@Nullable Bundle bundle) { final BroadcastOptions options = BroadcastOptions.makeBasic(); final BroadcastOptions options = BroadcastOptions.makeBasic(); options.setDontSendToRestrictedApps(true); options.setDontSendToRestrictedApps(true); options.setPendingIntentBackgroundActivityLaunchAllowed(false); if (bundle == null) { if (bundle == null) { return options.toBundle(); return options.toBundle(); } } Loading Loading
services/core/java/com/android/server/PendingIntentUtils.java +1 −0 Original line number Original line Diff line number Diff line Loading @@ -34,6 +34,7 @@ public class PendingIntentUtils { public static Bundle createDontSendToRestrictedAppsBundle(@Nullable Bundle bundle) { public static Bundle createDontSendToRestrictedAppsBundle(@Nullable Bundle bundle) { final BroadcastOptions options = BroadcastOptions.makeBasic(); final BroadcastOptions options = BroadcastOptions.makeBasic(); options.setDontSendToRestrictedApps(true); options.setDontSendToRestrictedApps(true); options.setPendingIntentBackgroundActivityLaunchAllowed(false); if (bundle == null) { if (bundle == null) { return options.toBundle(); return options.toBundle(); } } Loading