[ALPS04385687] fix mp3 playback start slowly because of sepolicy

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
This commit is contained in:
jianying duan 2020-01-18 10:09:56 +08:00
parent 6f9e880db8
commit 191ebc6318

View File

@ -9,3 +9,5 @@ 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;