summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2016-08-22 09:35:39 -0700
committerChong Zhang <chz@google.com>2016-08-22 09:44:35 -0700
commit7581cddf2515e9ec7c834549118b8db27e3a494f (patch)
tree8a523be4cef7ef0c6dcda5dd021f63a46ecfe195 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4ecc9d2db400225b6f5e0d76d17b8f94354996a6 (diff)
Make sure surface control is really valid before giving it to client
Checking mSurfaceControl!=null is not enough to ensure the surface is valid. tryStartExitingAnimation() could destroy/save the surface before app is stopped, if it decided the surface is no longer needed. Use WSA.hasSurface() to check if the surface control is really valid. bug: 30766796 Change-Id: I7724f1929d4ebc3f9a7a3b19eec638d7a7d7b910
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions