summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-10-27 13:57:37 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2023-11-10 22:58:59 +0000
commit050d4fd564dccb119e2f7cbe4e41a130b497504d (patch)
treee605ffa8afe9244800c6e3fb7afe3c5f294c534d /libs/androidfw/BackupHelpers.cpp
parentfd85c5cdefabe1c84f40823780294fcfc7880a92 (diff)
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 (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c793afe3bd45cd5e5a820e67e681483b2c14b8fb) Merged-In: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf Change-Id: I64897baeaa0b5d81c904d75f2b1e17c0eefec3bf
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions