summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-03-15 22:49:45 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-03-15 22:54:45 +0800
commit9d186163c4c2723921d94cc350799c5e4b5b3eae (patch)
treef059f46c27d1dc78ba94e83a69ab26f0ce3332cb /api/api_test.go
parent0177c5f293cb0a79539602177dd3e5fc00e28522 (diff)
Validate visibility when finishing transition
If the transition info doesn't contain any visible modes, then recover the visible state of surface for the correspond window container. This avoids showing blank screen by an incomplete transition that hides task or display area unexpectedly. Bug: 273206473 Fix: 269732484 Test: Assume a task X has an Activity A. Consecutive steps: Start B: X[A, B] Start A' with FLAG_ACTIVITY_CLEAR_TOP to finish [A, B] Final: X[A'] The surface of Task X and its parent should be visible. Change-Id: Id9de134a2ddc04f7ed7fb2d3c67d7337261c5ba7
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions