Merge "Fix bypass BAL via requestGeofence" into rvc-dev am: b71dcd28fa am: 7044f0061c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23918399 Change-Id: I47fa799d9694a1d7fcb28166733ebf57d64b1f2b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user