Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d030cfd7 authored by Lifu Tang's avatar Lifu Tang Committed by Android Build Coastguard Worker
Browse files

Fix bypass BAL via `requestGeofence`

Bug: 273729172
Test: manually
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7f9be7c3c859dc82d37452570d9878b58f6437a9)
Merged-In: Ia8094244f908b20d42711b6ea8f58f9b3345b563
Change-Id: Ia8094244f908b20d42711b6ea8f58f9b3345b563
parent 7707d6a8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ public class PendingIntentUtils {
    public static Bundle createDontSendToRestrictedAppsBundle(@Nullable Bundle bundle) {
        final BroadcastOptions options = BroadcastOptions.makeBasic();
        options.setDontSendToRestrictedApps(true);
        options.setPendingIntentBackgroundActivityLaunchAllowed(false);
        if (bundle == null) {
            return options.toBundle();
        }