summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSudheer Shanka <sudheersai@google.com>2019-06-04 16:46:57 -0700
committerSudheer Shanka <sudheersai@google.com>2019-06-04 16:46:57 -0700
commit572fdfd18f7357bd9a38e79f844f9e1cf67b0471 (patch)
treeba52e73920b9946d435c47ddfcb65bc1c6b79e06 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdee07f5d7f03d5944a5f79fd736892fba08bba64 (diff)
Fix Environment.isExternalStorageLegacy() impl.
Earlier, this API only used to consider op_legacy_storage appop to decide whether an app will get legacy storage view or not but there are few other factors it needs to consider like whether the app has WRITE_MEDIA_STORAGE permission or whether app was allowed to be an installer in which case it will get legacy access. Bug: 132760141 Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java Change-Id: I227a171bf40e43e135e1a6dbc819cfad21d91520
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions