summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-03-07 22:29:54 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-03-08 16:42:36 +0800
commite6942eab54a1b3edd8d4bc19b440c01f067e9214 (patch)
treee3616a887aca953a9573e3c0aaa8c5561685fd89 /libs/androidfw/BackupHelpers.cpp
parentd7c542d1d1eda1d248cb8841e1cbb4e0f266c112 (diff)
Skip transition if the display has no visible content
It is unnecessary to have a transition because there is nothing to animate. This aligns the same behavior as PhysicalDisplaySwitchTransitionLauncher #requestDisplaySwitchTransitionIfNeeded and DisplayContent#requestChangeTransitionIfNeeded. Bug: 259220649 Test: atest DisplayContentDeferredUpdateTests Create an empty virtual display and resize it. There should not have a transition (it may even hit timeout). Change-Id: I0ef1cea067d58bd54611943dc126d7e46a083d2e
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions