summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-06-28 13:07:45 -0600
committerJeff Sharkey <jsharkey@android.com>2016-06-28 13:07:48 -0600
commit508b4e6de8fcc531e0fc4f5497d0c01aa98eeee3 (patch)
tree47a3dd37cfb9fbfc6ad7c0968afb02a9efde0362 /tools/aapt2/java/JavaClassGenerator.cpp
parentb59b5a679aaa5a845e5a854cf0ccfb51a1ace8c9 (diff)
Skip screenshots when user storage is locked.
Screenshots are written to shared storage, which isn't available until after the user unlocks their device for the first time. So instead of showing a misleading animation and then the "failed to persist" notification, skip the screenshot completely when storage is locked. Bug: 27208608 Change-Id: I654c6688f68b2395f6e6065aa716551948f302b3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions