diff options
| author | 2025-02-21 17:36:31 +0800 | |
|---|---|---|
| committer | 2025-02-24 18:09:45 +0800 | |
| commit | 8f473d6039b0436a9a5d5e15d3d761c2ff385258 (patch) | |
| tree | 922baddfe30cfedff0382cc10bd054cae594f921 /tools/aapt2/ResourceParser.cpp | |
| parent | 238c473cf69b6cd33626cc4c54a196f20468d01c (diff) | |
Fix crash when toggling ambient collapse button in hearing device dialog
Root Cause: mAmbientController.start() in onStart() might execute before mAmbientController is
initialized in onCreate(). Race condition between background executor in onCreate() and onStart()
Solution: Move task in onStart() to onCreate() to make sure it will be executed in order.
Bug: 397635040
Test: manual test, connect one of hearing aids then open hearing device dialog
Flag: EXEMPT bugfix
Change-Id: Ic9e6f1805789fbf26437ae54b5c68dcec8e17d7a
Diffstat (limited to 'tools/aapt2/ResourceParser.cpp')
0 files changed, 0 insertions, 0 deletions