Files
frameworks_base/core/java/android/app
Abhijeet Kaur 5630668181 Disable resetting WRITE_MEDIA_IMAGES and WRITE_MEDIA_VIDEO appops
App holding System Gallery role is allowed WRITE_MEDIA_* appops by
virtue of the role. This allows the System Gallery app write-access for
images and videos.

When app preferences are reset AppOpsService toggles the appops for
all apps. Only the appops mentioned in sOpDisableReset are not toggled.

Disable WRITE_MEDIA_* appops to reset, as the system gallery app loses
write access on images/videos.

Bug: 179133883
Test: Manual
Change-Id: I168221c641566a9f691ed7956c038206b114d802
Merged-In: I168221c641566a9f691ed7956c038206b114d802
(cherry picked from commit de862be6a8)
2021-02-23 19:09:10 +00:00
..
2020-02-06 08:41:26 +00:00
2020-04-08 21:30:24 +08:00
2020-04-28 20:06:03 -07:00
2020-05-01 18:34:59 +01:00
2020-04-28 15:02:26 +01:00
2020-04-14 16:57:18 +08:00