mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
59bf3b75c7
https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/353117 https://review.lineageos.org/q/topic:Q_asb_2023-03 https://review.lineageos.org/q/topic:Q_asb_2023-04 https://review.lineageos.org/q/topic:Q_asb_2023-05 https://review.lineageos.org/q/topic:Q_asb_2023-06 https://review.lineageos.org/q/topic:Q_asb_2023-07 https://review.lineageos.org/q/topic:Q_asb_2023-08 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376560 https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376561 https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376562 https://review.lineageos.org/q/topic:Q_asb_2023-09 https://review.lineageos.org/q/topic:Q_asb_2023-10 https://review.lineageos.org/q/topic:Q_asb_2023-11 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/376563 accounted for via manifest change: https://review.lineageos.org/c/LineageOS/android_external_webp/+/376568 https://review.lineageos.org/q/topic:Q_asb_2023-12 https://review.lineageos.org/q/topic:Q_asb_2024-01 https://review.lineageos.org/q/topic:Q_asb_2024-02 https://review.lineageos.org/q/topic:Q_asb_2024-03 Signed-off-by: Tavi <tavi@divested.dev>
27 lines
1.3 KiB
Diff
27 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Lifu Tang <lifu@google.com>
|
|
Date: Wed, 5 Jul 2023 13:03:00 -0700
|
|
Subject: [PATCH] Fix bypass BAL via `requestGeofence`
|
|
|
|
Bug: 273729172
|
|
Test: manually
|
|
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7f9be7c3c859dc82d37452570d9878b58f6437a9)
|
|
Merged-In: Ia8094244f908b20d42711b6ea8f58f9b3345b563
|
|
Change-Id: Ia8094244f908b20d42711b6ea8f58f9b3345b563
|
|
---
|
|
services/core/java/com/android/server/PendingIntentUtils.java | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/services/core/java/com/android/server/PendingIntentUtils.java b/services/core/java/com/android/server/PendingIntentUtils.java
|
|
index 1600101b20f4..a72a4d254a2a 100644
|
|
--- a/services/core/java/com/android/server/PendingIntentUtils.java
|
|
+++ b/services/core/java/com/android/server/PendingIntentUtils.java
|
|
@@ -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();
|
|
}
|