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

Commit 5657fe6d authored by Kate Montgomery's avatar Kate Montgomery Committed by Automerger Merge Worker
Browse files

Merge "Fix bypass BAL via LocationManager.requestFlush" into tm-qpr-dev am: afbbb8ae

parents 8ac010ca afbbb8ae
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -300,6 +300,7 @@ public class LocationProviderManager extends
        public void deliverOnFlushComplete(int requestCode) throws PendingIntent.CanceledException {
        public void deliverOnFlushComplete(int requestCode) throws PendingIntent.CanceledException {
            BroadcastOptions options = BroadcastOptions.makeBasic();
            BroadcastOptions options = BroadcastOptions.makeBasic();
            options.setDontSendToRestrictedApps(true);
            options.setDontSendToRestrictedApps(true);
            options.setPendingIntentBackgroundActivityLaunchAllowed(false);


            mPendingIntent.send(mContext, 0, new Intent().putExtra(KEY_FLUSH_COMPLETE, requestCode),
            mPendingIntent.send(mContext, 0, new Intent().putExtra(KEY_FLUSH_COMPLETE, requestCode),
                    null, null, null, options.toBundle());
                    null, null, null, options.toBundle());