summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhakthavatsala Raghavendra <quic_braghave@quicinc.com>2022-01-21 12:41:37 -0800
committerBhakthavatsala Raghavendra <quic_braghave@quicinc.com>2022-01-21 12:41:37 -0800
commit182024bd50bbc84091b1d2ddd044ef189d5f7a3b (patch)
treebb33e1e6873341a5fa664598fa1481ff09deed91
parent44d456899c238ac61ebcc26cd4c8061d6a17e106 (diff)
Allow BT APK to receive scan results
Change-Id: I05fe611970e52189ffb3501b37e87031b69f3158
-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)) {