summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMiranda Kephart <mkephart@google.com>2020-03-12 16:13:42 -0400
committerMiranda Kephart <mkephart@google.com>2020-03-12 16:13:42 -0400
commitab359beb2be72d0d6318f01fe6408946d4d162f3 (patch)
treeeb8c40995b8fbebf8fccf93d39cfddca9d91bb5a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent86a72111c8e090290366e2491c69a27481d3fa42 (diff)
Fix crash when taking screenshots from overview
When taking screenshots from overview, the current screenshot wasn't being cleared, leading to a crash when we tried to add the view to the window again. Clearing the screenshot first (as we do when taking screenshots from hardware/global actions) fixes the problem. Fixes: 151153057 Test: manual (verified that error occurs if you tap the screenshot button while the UI is up pre-fix, and crash does not happen post-fix) Change-Id: Ia33344ce19c912241e18d3053ccdc51845603ca3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions