diff options
| author | 2024-11-07 18:24:41 +0800 | |
|---|---|---|
| committer | 2024-11-11 02:27:05 +0000 | |
| commit | 8288bc22398ce5503eb6415b1e09f6474ce4a5b3 (patch) | |
| tree | 0de0131f0eea0d3f1a58e65dbb705c84c503de13 /cmds/bootanimation/BootAnimation.cpp | |
| parent | bf13e461b57a4138eeef511aa40672f89cdbe235 (diff) | |
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
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions