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

Skip to content
Commit 8288bc22 authored by lijilou's avatar lijilou Committed by Jilou li
Browse files

TintController: add lock to fix NPE problem.

This problem is caused by concurrent operations of the mIsActivated object by threads, such as the following situation:
1 Binder call or Background thread. In CDS service, binder all the isReduceBrightColorsActivated method and call the isActivated method.

2 Display thread. The call chain onUserChanged -> tearDown -> setActivated(null).

Test: OEM monkey test
Flag: EXEMPT bugfix
Bug: 377834826
Change-Id: Id48e7986a98ec81769e587344b19ef7e509db0e4
parent bf13e461
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