[ALPS04017296] USB: revise selinux of OTG
revise selinux policy of OTG test item, align AOSP method due to the same requirement. (search/read USB devices) MTK-Commit-Id: a0aed0eede4032d7ed56b7b94297a36366624d52 Change-Id: Iee584b5421069f4159879d7b5c1f4c6ee18082ae CR-Id: ALPS04017296 Feature: Factory Mode (cherry picked from commit ea3f52167e7e983843639b4b63b3f1b08290cbad)
This commit is contained in:
parent
aa64d98da4
commit
f621158dc4
@ -44,6 +44,10 @@ allow factory ttyMT_device:chr_file rw_file_perms;
|
||||
allow factory ttyS_device:chr_file rw_file_perms;
|
||||
allow factory ttyGS_device:chr_file rw_file_perms;
|
||||
|
||||
# Purpose: OTG
|
||||
allow factory usb_device:chr_file rw_file_perms;
|
||||
allow factory usb_device:dir r_dir_perms;
|
||||
|
||||
# Date: WK15.01
|
||||
# Purpose : OTG Mount
|
||||
allow factory sdcard_type:dir mounton;
|
||||
|
Loading…
x
Reference in New Issue
Block a user