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

Sync client visibility if activity is stopped

While activity resumed and stopped without transition, there may
not have an animation callback to commit client visibility.
Though the main window of activity can be updated according to
activity lifecycle callback, if there are other windows attached
to the activity, those windows may keep in visible state.

Bug: 193125596
Test: 1. Enable secured lock.
      2. Launch an activity with attaching another window.
      3. Lock device and launch a show-when-locked activity.
      4. Finish the show-when-locked activity.
      5. Check all windows of the current top activity should
         be invisible by command "adb shell dumpsys window w".
      6. There should be no delay when turning off/on display
         "Timeout waiting for drawn".
Change-Id: Ib48b0509c328567302318689c565191cac8019b1
parent 395c582b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment