when open selinux, mp3 playback will start slowly, it because selinux issue,mediaextractor process cant getservice and when MtkMp3Extractor call the function of MediaCodecList:findMatchingCodecs,it will fail. so,mtkmp3extractors patch cant take effect, and because of selinuxs limit, mp3 playback start will slowly. MTK-Commit-Id: 9bb746686dce1176a8a47f1d730c0864bb6b6d52 Change-Id: Iba512638d87ff055a8ddb98853eca956e2ec72d9 CR-Id: ALPS04385687 Feature: [Android Default] MP3 Playback
14 lines
417 B
Plaintext
14 lines
417 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;
|
|
|