commit | ebb22201863850c58a9ef288bf01ae6bc9844307 | [log] [tgz] |
---|---|---|
author | jasonwshsu <jasonwshsu@google.com> | Thu Nov 24 04:03:40 2022 +0800 |
committer | jasonwshsu <jasonwshsu@google.com> | Wed Nov 30 17:48:50 2022 +0800 |
tree | dab25cd4856d5c6e664b82ac766edc926cde9586 | |
parent | 79ffdd393223efe973d4c3abf8c627a774961748 [diff] |
Fix phone's UI shows incorrect status by releasing message in handler Root Cause: switchSubDeviceContent() but mHandler did not be cleared and might execute the delay message from another device. Solution: Remember to release mHandler object when target is changed or removed. Bug: 237457702 Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=CachedBluetoothDeviceTest Change-Id: I05f3c948758fbca8627eec8dc32e32cbdd80b763