Allow dumpsys on user builds

Bug: 320403913
Test: adb shell dumpsys android.hardware.drm.IDrmFactory/clearkey
Change-Id: Ibc8214dac63558b5bbf886b25607f36e293d3e8d
This commit is contained in:
Robert Shih 2024-02-07 18:29:27 +00:00
parent 67c12aa98d
commit 0f486059b0

View file

@ -29,10 +29,8 @@ allow hal_drm cgroup_v2:dir { search write };
allow hal_drm cgroup_v2:file w_file_perms; allow hal_drm cgroup_v2:file w_file_perms;
# Allow dumpsys Widevine without root # Allow dumpsys Widevine without root
userdebug_or_eng(` allow hal_drm_server shell:fd use;
allow hal_drm_server shell:fd use; allow hal_drm_server shell:fifo_file write;
allow hal_drm_server shell:fifo_file write;
')
# Allow access to ion memory allocation device # Allow access to ion memory allocation device
allow hal_drm ion_device:chr_file rw_file_perms; allow hal_drm ion_device:chr_file rw_file_perms;