summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-10-24 19:35:04 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-10-24 19:35:04 +0800
commit5690a5782efdc4d37dd58c905a5b581dbfce2f68 (patch)
treee3e17d7865ae2a335ef69f282cb6df6b9ce8d7ab /libs/androidfw/FileStream.cpp
parentc9d20f37276dbdedbe6579f2e0be02eece55996f (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions