Fix bypass BAL via requestGeofence
Bug: 273729172 Test: manually Change-Id: Ia8094244f908b20d42711b6ea8f58f9b3345b563
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user