summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorAbhijeet Kaur <abkaur@google.com>2021-02-19 16:43:59 +0000
committerAbhijeet Kaur <abkaur@google.com>2021-02-23 19:09:10 +0000
commit5630668181b12b2fef70301065a597f028a2518a (patch)
treed9b773fc015386400ecec00cca6b9bb61b7582ee /tools/aapt2/diff/Diff.cpp
parent88854d15efbcce0a686745f7d392c87c41729452 (diff)
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 de862be6a88ff74c0378f3f506919ec2880bf6ba)
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions