Loading android/app/src/com/android/bluetooth/gatt/GattService.java +0 −4 Original line number Diff line number Diff line Loading @@ -2082,10 +2082,6 @@ public class GattService extends ProfileService { if (settings == null) { return false; } // Hidden API for onLost/onFound if (settings.getCallbackType() != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { return true; } // Regular scan, no special permission. if (settings.getReportDelayMillis() == 0) { return false; Loading android/app/src/com/android/bluetooth/gatt/ScanManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,7 @@ public class ScanManager { mBatchClients = new HashSet<ScanClient>(); mService = service; mScanNative = new ScanNative(); curUsedTrackableAdvertisements = 0; } void start() { Loading Loading
android/app/src/com/android/bluetooth/gatt/GattService.java +0 −4 Original line number Diff line number Diff line Loading @@ -2082,10 +2082,6 @@ public class GattService extends ProfileService { if (settings == null) { return false; } // Hidden API for onLost/onFound if (settings.getCallbackType() != ScanSettings.CALLBACK_TYPE_ALL_MATCHES) { return true; } // Regular scan, no special permission. if (settings.getReportDelayMillis() == 0) { return false; Loading
android/app/src/com/android/bluetooth/gatt/ScanManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,7 @@ public class ScanManager { mBatchClients = new HashSet<ScanClient>(); mService = service; mScanNative = new ScanNative(); curUsedTrackableAdvertisements = 0; } void start() { Loading