From 1b197fe0c7b4af0f89e5b5c28d8c1e8c57b44f48 Mon Sep 17 00:00:00 2001 From: Aleksander Nowakowski Date: Tue, 18 Dec 2018 13:03:33 +0100 Subject: [PATCH] Comment updated --- .../java/no/nordicsemi/android/dfu/LegacyButtonlessDfuImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dfu/src/main/java/no/nordicsemi/android/dfu/LegacyButtonlessDfuImpl.java b/dfu/src/main/java/no/nordicsemi/android/dfu/LegacyButtonlessDfuImpl.java index 06b023a..ba49993 100644 --- a/dfu/src/main/java/no/nordicsemi/android/dfu/LegacyButtonlessDfuImpl.java +++ b/dfu/src/main/java/no/nordicsemi/android/dfu/LegacyButtonlessDfuImpl.java @@ -176,6 +176,8 @@ import no.nordicsemi.android.dfu.internal.exception.UploadAbortedException; * * However, as up to Android 7 the system does NOT respect this requirement and servers are cached for every device, even if Service Changed is enabled -> Android BUG? * For bonded devices Android performs service re-discovery when SC indication is received. + * + * Android 8 and 9 never cache services of not bonded devices. */ final BluetoothGatt gatt = mGatt; final BluetoothGattService gas = gatt.getService(GENERIC_ATTRIBUTE_SERVICE_UUID);