summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2019-04-14 13:07:41 -0700
committerSvet Ganov <svetoslavganov@google.com>2019-04-16 12:34:49 -0700
commitd563e937f2d2a6d256b1284c3119c8787faf156d (patch)
tree7e7dab0436a3ff2c02d9879f59b79d05e107a96c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent75d75ce38c5ec67ac567f13b8404d4739e59f9f6 (diff)
Make storage a restricted permission - framework
This change makes storage a soft restricted permission. When the permission is whitelisted for an app then hodlding it allows the app to access the full SD card as on a P device. If howerver, the permisison is not whitelisted for an app then holding it allows accessing the visual/aural collections in media store while the app would run in its own isolated storage sandbox. This change also connects the opt in/out application attribute to how external storage is mounted remocing temporary code. The attribute was renamed to convey that opting in legacy mode is not somethung that is desirable or would be available in the long run. White at this also fix the default state of app ops for restricted permissions to avoid allowing ops for non requested restricted permissions to every UID as component access could skip permission checks by cannot skip app op checks. bug:130327036 atest CtsPermission2TestCases atest CtsPermissionTestCases atest CtsAppOpsTestCases atest atest CtsAppSecurityHostTestCases:android.appsecurity.cts.ExternalStorageHostTest atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest Change-Id: Ibb23cbb6a5c66d9c3823cc13562a1b903b391ffd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions