summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-06-24 06:33:47 +0000
committer Riddle Hsu <riddlehsu@google.com> 2024-06-25 03:52:58 +0000
commit15a4d6b0bcc573b0837b6cc5fc2173b83c3b16e5 (patch)
treed37da11421a43d3eed4ac8f44c18fd4045e5e5ff /libs/androidfw/FileStream.cpp
parent733b315abc81973d39a7db0c629bf661a0f1a482 (diff)
Use callback of remote display change as timeout token
Previously, if the remote is slow and there are continuous new callbacks coming, the timeout runnable is removed on new callback which causes the timeout never reaches. Which makes isWaitingForRemoteDisplayChange keeps true and blocks DisplayContent to apply new configuration. So now each callback has its own timeout. If there are multiple callbacks and one of them is timed out, onContinueTimedOut will still be called to completes all callbacks to unblock display change. Bug: 334838294 Flag: EXEMPT bugfix Test: Add sleep 1s in DisplayChangeWindowControllerImpl. Loop launch activity which requests different orientation in the same task. The display orientation can still change. Change-Id: Id21c3cd4afcb306fc41e1de8405164711d20e678
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions