Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Fix NPE in allowOverlappingTransitions

The OneShotPreDrawListener from triggerViewsReady() ->
sendSharedElementDestination() may be called after clearState() if
the activity has stopped before allowing to draw. Then it will cause
NPE because clearState() set mWindow to null.

Bug: 306974798
Test: Use scene transition and stop draw by pre-draw listener.
      Then allow to draw after activity is stopped.
Change-Id: I3a714f97a6abcee51ca004ca3c919250c5d5257f
parent c9d20f37
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