when open selinux, mp3 playback will lead to high power loading, reason is that due to selinux,mediaextractor process cant get music process name, so lower power feature cannot work Add sepolicy to fix the issue. MTK-Commit-Id: 10dad319efacefe5807a7932a63ca34f6bb881a5 Change-Id: I1e41f0e07134fad957fe3f98b99fcc8985f3ebd7 CR-Id: ALPS04427301 Feature: [Android Default] MP3 Playback
16 lines
516 B
Plaintext
16 lines
516 B
Plaintext
# ==============================================
|
|
# MTK Policy Rule
|
|
# ==============================================
|
|
|
|
# Date : WK16.33
|
|
# Purpose: Allow to access ged for gralloc_extra functions
|
|
allow mediaextractor proc_ged:file {open read write ioctl getattr};
|
|
|
|
#============= mediaextractor ==============
|
|
allow mediaextractor vfat:file r_file_perms;
|
|
|
|
allow mediaextractor mediaserver_service:service_manager find;
|
|
|
|
allow mediaextractor platform_app:dir search;
|
|
allow mediaextractor platform_app:file r_file_perms;
|