summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAlison Cichowlas <asc@google.com>2020-09-22 14:47:14 -0400
committerAlison Cichowlas <asc@google.com>2020-09-24 13:18:25 +0000
commit208b157b8d2112c1994a49c2715b86eae540b4fe (patch)
tree1420e25bd2086f81183d3bc37c9f34c14776b274 /tools/aapt2/java/JavaClassGenerator.cpp
parentfd55a98702c491b5fa3730f14873228a61644e9a (diff)
Fix handling of bad image previews.
When the image preview fails (eg for permissions or timeout) the entire system area is removed. This prevents the user from using Nearby. Instead, when the image preview fails, we should hide only the image preview and leave the rest of the system area intact. Bug: 168557188 Test: ChooserActivityTest; manual inspection Change-Id: I49190c1fbc4e25b3d2e2802a90de355bff297f7e (cherry picked from commit ba027fad9144df945ed986373e17d52696816c95)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions