summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2020-09-14 12:35:41 +0800
committerMing-Shin Lu <lumark@google.com>2020-10-23 13:25:34 +0800
commit73aab1dc1fce55a544f5ecffe1c4cb7939d77be9 (patch)
treefc975885363b75ef5df08440a87eebab8a531900 /rs/java/android/renderscript/ProgramStore.java
parentae31181f133dba251225d95169d95ee1574599af (diff)
Better IME transition while switching app with recents (2/N)
In TaskSnapshotController#handleClosingApps will capture task snapshot while applying closing animation or during screen turning-off. this will overwrite the captured task from RecentsAnimationController, and makes while quick switching tasks, sometimes will not see the IME surface on the task snapshot. Add a check in places which triggers task snapshot to ignore addidnal snapshot request while RecentsAnimation is active. Also refined Task#isTaskAnimating as isAnimatingByRecents to simplify the logic and add the test for its behavior. Bug: 166736352 Test: manual by: 1) Tapping EditText in app and make keyboard shown 2) Quick switch back and force between apps by swiping navbar 3) Verify if the task snapshot with IME persists shown during switching apps Test: atest RecentsAnimationControllerTest#testIsAnimatingByRecents Change-Id: Icc7abd3338f472e263042f46502615f0446b46eb
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions