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

Skip to content
Commit 5d6a94d0 authored by Eiji's avatar Eiji Committed by Paul Colta
Browse files

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
parent e2b10545
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