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

Skip null surface when validating transition

If SystemUI is died somehow before finishing a transition, the
validators may run after SystemUI is restarted and a new transition
is finished. Then the validators could contains some outdated state
such as the windows were detached (especially wallpaper is died
with SystemUI). So check if the surface exists to avoid crashing
SystemUI again.

Bug: 287539388
Test: Repeat kill SystemUI when running transition animation.
Change-Id: I756fa0bae8b2d64487bc158b933ed21246d3b506
parent caa08c2c
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