Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f473d60 authored by jasonwshsu's avatar jasonwshsu
Browse files

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
parent 238c473c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment