Change testExternalStorageNone to target 29 SDK
testExternalStorageNone tests legacy behavior of an app targeting 29
SDK without any storage permissions. Test targeting R, requesting legacy
behavior will have MANAGE_EXTERNAL_STORAGE permission which will also
grant write access to /sdcard/ for test app. Marked this test as
target_sdk=29 app to only check for legacy behaviour for 29 SDK.
Removed !canRead() & !list() checks on /storage/emulated/0/ path since
we support reading these directories for any apps.
Test: atest ExternalStorageHostTest#testExternalStorageNone29
Bug: 147091021
Bug: 148918640
Change-Id: If5f8482bd7b7f437d20179f7c6d111465732cc3d
3 files changed