summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCNSS_WLAN Service <cnssbldsw@qualcomm.com>2022-01-26 16:32:39 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2022-01-26 16:32:39 -0800
commitfc1e69f16ce02c146ff90f75e18b72a2fce40490 (patch)
tree97b6f8cc0df164b8d9c927bd440b8bf476f4a4be
parent18524d63ee0f724f636d4af0f6c223e3a1750fe4 (diff)
parent182024bd50bbc84091b1d2ddd044ef189d5f7a3b (diff)
Merge "Allow BT APK to receive scan results" into bt-sys.lnx.12.0
-rw-r--r--src/com/android/bluetooth/gatt/GattService.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/bluetooth/gatt/GattService.java b/src/com/android/bluetooth/gatt/GattService.java
index 76f54dc2b..6131bdd93 100644
--- a/src/com/android/bluetooth/gatt/GattService.java
+++ b/src/com/android/bluetooth/gatt/GattService.java
@@ -1317,10 +1317,7 @@ public class GattService extends ProfileService {
if (!hasPermission && client.callingPackage != null
&& client.callingPackage.equals("com.android.bluetooth")) {
- if (client.filters.size() == 1 &&
- client.filters.get(0).getGroupFilteringValue()) {
- hasPermission = true;
- }
+ hasPermission = true;
}
if (!hasPermission || !matchesFilters(client, result)) {