Loading android/app/src/com/android/bluetooth/gatt/GattService.java +2 −6 Original line number Diff line number Diff line Loading @@ -241,9 +241,7 @@ public class GattService extends ProfileService { } mAdvertiseManager.clear(); mClientMap.clear(); if (Flags.gattCleanupRestrictedHandles()) { mRestrictedHandles.clear(); } mServerMap.clear(); mHandleMap.clear(); mReliableQueue.clear(); Loading Loading @@ -1355,9 +1353,7 @@ public class GattService extends ProfileService { mClientMap.removeConnection(clientIf, connId); ContextMap<IBluetoothGattCallback>.App app = mClientMap.getById(clientIf); if (Flags.gattCleanupRestrictedHandles()) { mRestrictedHandles.remove(connId); } // Remove AtomicBoolean representing permit if no other connections rely on this remote // device. Loading android/app/tests/unit/src/com/android/bluetooth/gatt/GattServiceTest.java +0 −1 Original line number Diff line number Diff line Loading @@ -708,7 +708,6 @@ public class GattServiceTest { @Test public void restrictedHandles() throws Exception { mSetFlagsRule.enableFlags(Flags.FLAG_GATT_CLEANUP_RESTRICTED_HANDLES); int clientIf = 1; int connId = 1; ArrayList<GattDbElement> db = new ArrayList<>(); Loading flags/gap.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -29,13 +29,6 @@ flag { bug: "317128464" } flag { name: "gatt_cleanup_restricted_handles" namespace: "bluetooth" description: "Cleans up restricted handles when disconnected" bug: "323110155" } flag { name: "phy_to_native" namespace: "bluetooth" Loading Loading
android/app/src/com/android/bluetooth/gatt/GattService.java +2 −6 Original line number Diff line number Diff line Loading @@ -241,9 +241,7 @@ public class GattService extends ProfileService { } mAdvertiseManager.clear(); mClientMap.clear(); if (Flags.gattCleanupRestrictedHandles()) { mRestrictedHandles.clear(); } mServerMap.clear(); mHandleMap.clear(); mReliableQueue.clear(); Loading Loading @@ -1355,9 +1353,7 @@ public class GattService extends ProfileService { mClientMap.removeConnection(clientIf, connId); ContextMap<IBluetoothGattCallback>.App app = mClientMap.getById(clientIf); if (Flags.gattCleanupRestrictedHandles()) { mRestrictedHandles.remove(connId); } // Remove AtomicBoolean representing permit if no other connections rely on this remote // device. Loading
android/app/tests/unit/src/com/android/bluetooth/gatt/GattServiceTest.java +0 −1 Original line number Diff line number Diff line Loading @@ -708,7 +708,6 @@ public class GattServiceTest { @Test public void restrictedHandles() throws Exception { mSetFlagsRule.enableFlags(Flags.FLAG_GATT_CLEANUP_RESTRICTED_HANDLES); int clientIf = 1; int connId = 1; ArrayList<GattDbElement> db = new ArrayList<>(); Loading
flags/gap.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -29,13 +29,6 @@ flag { bug: "317128464" } flag { name: "gatt_cleanup_restricted_handles" namespace: "bluetooth" description: "Cleans up restricted handles when disconnected" bug: "323110155" } flag { name: "phy_to_native" namespace: "bluetooth" Loading