summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-07-24 10:32:06 +0000
committer Wei Sheng Shih <wilsonshih@google.com> 2023-12-01 05:33:14 +0000
commit7d7348db13d82959e20f86f852fffc7223471bb2 (patch)
tree618b0f4ca247218bb0610a201da6310ffc68d8a8 /libs/androidfw/BackupHelpers.cpp
parent0afdfc6544f1882d5382cba1edda68f177c14100 (diff)
Skip sync invisible & lifecycle-unlreated window for an Activity.
Client can create extra window and set it's visibility to INVISIBLE or GONE, for either case, the client won't redraw this window after request sync, which can cause sync timeout. To preventing from the timeout issue, skip sync that window during prepareSync. Bug: 285818330 Test: atest WindowOrganizerTests WindowStateTests Test: create a window and set it's visibility to GONE, verify that activity transition won't be blocked on waiting for this kind of window. Change-Id: Ie8ccf1d9b8629a60943726cf3c2b8daad84fe08c (cherry picked from commit 2c5d7bbaaf85e59c815816d7669862c2d887f459)
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions