Merge "Fix bypass BAL via LocationManager.requestFlush" into sc-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8980004b5e
@@ -267,6 +267,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