Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +10 −1 Original line number Diff line number Diff line Loading @@ -3046,7 +3046,16 @@ public class AdapterService extends Service { return BluetoothDevice.CONNECTION_STATE_DISCONNECTED; } if (Flags.apiGetConnectionStateUsingIdentityAddress()) { final long token = Binder.clearCallingIdentity(); try { return service.getConnectionState(device); } finally { Binder.restoreCallingIdentity(token); } } else { return service.getConnectionState(device); } } @Override Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +10 −1 Original line number Diff line number Diff line Loading @@ -3046,7 +3046,16 @@ public class AdapterService extends Service { return BluetoothDevice.CONNECTION_STATE_DISCONNECTED; } if (Flags.apiGetConnectionStateUsingIdentityAddress()) { final long token = Binder.clearCallingIdentity(); try { return service.getConnectionState(device); } finally { Binder.restoreCallingIdentity(token); } } else { return service.getConnectionState(device); } } @Override Loading