summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Marzia Favaro <marziana@google.com> 2024-11-07 14:01:38 +0000
committer Marzia Favaro <marziana@google.com> 2024-11-12 11:34:42 +0000
commitff66c4061ae4fe4b34b62f4d3354b881d2ee3e3a (patch)
tree814795f6c943e39f0604cb1cea385ecdb713748a /libs/androidfw/BackupHelpers.cpp
parent0fb259dadb4d07feb2ce1eea35011e5494c786e8 (diff)
Cancel dim animations directly from runner + verbose logs
There have been unexplained NPE due to the access of released dim surfaces from the animation. Cancel the animation directly from the SurfaceAnimationRunner to reduc the likelihood of unsynchronized code changing the state of the surface. Track the most relevant lifecycle events to detect anomalies in surface access in case this happens in the future. Currently this is not debuggable when the issue is not easily reproducible, so we introduce some verbose logging to be able to analyse the state of the dim at the time of the crash Test: DimmerTest Bug: 377592988 Flag: EXEMPT logic is the same Change-Id: I67ecd3b813015cd5bb5a247e5b7a20e8647f5e03
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions