summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatt Casey <mrcasey@google.com>2021-07-07 16:43:22 -0400
committerMatt Casey <mrcasey@google.com>2021-07-08 16:23:48 -0400
commit88f2924225b303f84f9da00f917471a9406b3ac2 (patch)
treee411764c6d664d2d0a830378571d85bf8f684925 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent214d12950028b3ad1b15e915781d3fabf1e20cc8 (diff)
Don't try to load a long screenshot image more than once
If the preview already has a drawable onStart, there's nothing else to do. Previously we'd always try to load an image onStart which would break if onStart wasn't caused by either an initial load or a state restoration. Bug: 193045988 Test: When cropping long screenshot, swipe up to overview, then return. Previously, the activity would disappear, now it continues undisturbed. Change-Id: Ief1f10ce621e7f25bf3acbcf04ad3b6c04a28577
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions