commit | c71edbd8e02a106785efa6a097f3fad000c69c09 | [log] [tgz] |
---|---|---|
author | Louis Chang <louischang@google.com> | Fri Apr 21 06:31:44 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Apr 28 15:54:56 2023 +0000 |
tree | 221ebda36c6d9ef6f0968f1235ca58c367548341 | |
parent | 6cfe32c5840965a948f390e64eb316d7af912449 [diff] |
Prevents activity being stopped while folding/unfolding device Display is turning off while swapping the physical display, usually happens while folding/unfolding a foldable device. The display will be turn back on after some time later, but the top activity could be stopped if the display is not turning back on soon enough. Bug: 271098735 Test: tested on Youtube and some other apps (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:fc8087ce7b50877d6a73ba85976212258b87718e) Merged-In: I687f35f4989f9e23276451c9b3a3ce8578e64280 Change-Id: I687f35f4989f9e23276451c9b3a3ce8578e64280