Skip to content
Snippets Groups Projects
Commit 205d8a47 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android Build Coastguard Worker
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.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:45301a4d5400bb338f36bb4c08637921ff9c59ba)
Merged-In: I756fa0bae8b2d64487bc158b933ed21246d3b506
Change-Id: I756fa0bae8b2d64487bc158b933ed21246d3b506
parent 633b16d7
No related branches found
No related tags found
No related merge requests found
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