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

Commit 7f9be7c3 authored by Lifu Tang's avatar Lifu Tang
Browse files

Fix bypass BAL via `requestGeofence`

Bug: 273729172
Test: manually
Change-Id: Ia8094244f908b20d42711b6ea8f58f9b3345b563
parent f9d8830e
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();
        }