summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorAmin Shaikh <ashaikh@google.com>2019-07-03 08:33:28 -0400
committerAmin Shaikh <ashaikh@google.com>2019-07-03 08:33:28 -0400
commita7e6f39a570b240e4b5bf76c3e128a328e9359a7 (patch)
tree2dbcf0dcfe771e181dbfb4433a93a09639dbce1b /opengl/tests/gl_basic/gl_basic.cpp
parent8288111d42f0557833caec4c4a02ff26b94f7325 (diff)
[PATCH] Fix SyetemUI can not get the new profile connect state after device reboot
Bluetooth will automatically open after device reboot. SystemUI will construct LocalBluetoothManager, readPairedDevices will be called in the construction of LocalBluetoothmanager. Since mLocalBluetoothManager.getEventManager.registerCallback is after the LocalBluetoothManager's construction. SystemUI does not receive the message onDeviceAdded. As a result, CacheDevice.registerCallback cannot be registered later. So the device cannot receive the OnDeviceAttributesChanged message when the device connects to the second profile. Fixes: 136606985 Test: manual 1. Open BT, connect a bluetooth headset, a bluetooth mouse。 2. Reboot the device. 3. After the bluetooth headset auto connect, connect the bluetooth mouse again. 4. Check the status bar. Change-Id: I460e632943f445a19f2273a5b1087ba1c27d841c
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions