summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMatt Casey <mrcasey@google.com>2020-05-20 14:56:28 -0400
committerMatt Casey <mrcasey@google.com>2020-05-20 14:56:28 -0400
commitc57f0cb7f210fdc63d0515311c9fff41e5742b24 (patch)
treea31bdfcdca3e2b0d2651bdea21a762e23b579be1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent197709093a82076a19475450bd01016ca1d1a4e2 (diff)
Ensure screenshot edit action gets permissions for current user
Previously, edit action intent was sent to ActionProxyReceiver with the SYSTEM user. It had the FLAG_GRANT_READ_URI_PERMISSION flag, but when the current user wasn't the system user, the system user wouldn't have permissions to read that URI so it didn't work. This caused Markup to fail to open the screenshot since it wasn't given permission. Bug: 148128165 Test: Validate that Markup can read/write/delete screenshot w/ secondary user. Change-Id: Ifa1d8fd195d5f777ab51972183ed6db4e6735ffd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions