77535ce22a71b04fd45f526e8c03976e42761ec2
Following deadlock exist in previous code: 1. Main thread Device.refresh()->Device.dispatchCallback()->Lock callback->(handle callback in systemui)->DeviceManager.getDevicesCopy()-> try lock deviceManager 2. Bg thread DeviceManager.onUuidChange()->Lock deviceManager->Device.refresh()->Device.dispatchCallback()-> try lock callback This CL remove sychnorized method in DeviceManager to unblock this deadlock. Since UuidChange can only happen in bg thread, we don't need this extra lock in DeviceManager. Fixes: 112483982 Test: Manual Change-Id: I1a8bb130cfff40358783f5f5da7e50e5f0a42e20
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%