diff options
| author | 2024-12-20 07:27:13 -0800 | |
|---|---|---|
| committer | 2024-12-20 07:32:54 -0800 | |
| commit | 5d6a94d0aa7b7e71d19e7b8e73012c24bac69a9b (patch) | |
| tree | 7781cd38faa79230f1436e6bcae400cac8f46de7 /libs/androidfw/AssetsProvider.cpp | |
| parent | e2b10545eaa71734c6a47f772bac0c1ad65ff2ff (diff) | |
HDMI: Fix clearing callback is missing
Basically, pending actions are cleared, the callback is called,
and the registration of the callback is cleared (null is set at checkIfPendingActionsCleared).
However, it is not cleared when a timeout occurs.
The failure to clear the registration of the callback may cause duplicate callback calls.
Add clearing of the callback registration when a timeout occurs.
Bug: 385014568
Flag: EXEMPT bugfix
Test: m && atest com.android.server.hdmi
(cherry picked from https://android-review.googlesource.com/q/commit:0e2aabe0bf04a642c9856462db91447a31ce05b1)
Merged-In: I8f93d59afdd8a0c5c28f8483c586fe281422819e
Change-Id: I8f93d59afdd8a0c5c28f8483c586fe281422819e
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions