Merge "Fix bypass BAL via LocationManager.requestFlush" into tm-qpr-dev am: afbbb8ae44
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21129648 Change-Id: Id3070d650266eaa729b12c240c766dd189691329 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -300,6 +300,7 @@ public class LocationProviderManager extends
|
||||
public void deliverOnFlushComplete(int requestCode) throws PendingIntent.CanceledException {
|
||||
BroadcastOptions options = BroadcastOptions.makeBasic();
|
||||
options.setDontSendToRestrictedApps(true);
|
||||
options.setPendingIntentBackgroundActivityLaunchAllowed(false);
|
||||
|
||||
mPendingIntent.send(mContext, 0, new Intent().putExtra(KEY_FLUSH_COMPLETE, requestCode),
|
||||
null, null, null, options.toBundle());
|
||||
|
||||
Reference in New Issue
Block a user