summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author lijilou <lijilou@xiaomi.corp-partner.google.com> 2024-11-07 18:24:41 +0800
committer Jilou li <lijilou@xiaomi.corp-partner.google.com> 2024-11-11 02:27:05 +0000
commit8288bc22398ce5503eb6415b1e09f6474ce4a5b3 (patch)
tree0de0131f0eea0d3f1a58e65dbb705c84c503de13 /cmds/bootanimation/BootAnimation.cpp
parentbf13e461b57a4138eeef511aa40672f89cdbe235 (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