Skip to content
Commit 9d186163 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 0177c5f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment