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

Skip to content
Commit c793afe3 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Consume pending display config change with multiple remote callbacks

For example:
Callback1 { sendNewConfiguration }
Callback2 { applySomething }

If Callback1 completes first, its sendNewConfiguration won't take
effect because isWaitingForRemoteDisplayChange is true by the
pending Callback2. And then when Callback2 completes, it only
perform its own operations.

So this change provides a callback from display to make sure its
pending config change can be handled when all remote callbacks
are done.

Fix: 305655839
Test: atest DisplayContentTests#testRemoteDisplayChange
Merged-In: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Change-Id: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
parent 4db8abcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment