Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72eb3f94 authored by Evan Severson's avatar Evan Severson
Browse files

Remove WRITE_MEDIA_* appops from runtime permission ops

These don't have any associated permissions today so they don't belong on this list. Luckily today the only reference to the list is in the static {} block where they have been getting skipped, but that might not be true in the future.

Change-Id: Ie81d3611495102e7ec05447c4e3645971654361e
Test: Boot device
Fixes: 313993729
parent 7ab7a215
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2391,12 +2391,9 @@ public class AppOpsManager {
            OP_ACTIVITY_RECOGNITION,
            // Aural
            OP_READ_MEDIA_AUDIO,
            OP_WRITE_MEDIA_AUDIO,
            // Visual
            OP_READ_MEDIA_VIDEO,
            OP_WRITE_MEDIA_VIDEO,
            OP_READ_MEDIA_IMAGES,
            OP_WRITE_MEDIA_IMAGES,
            OP_READ_MEDIA_VISUAL_USER_SELECTED,
            // Nearby devices
            OP_BLUETOOTH_SCAN,