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
Loading
Please register or sign in to comment