From 21b40e380e360019388cdf17ece400008194a97a Mon Sep 17 00:00:00 2001 From: Chong Zhang Date: Mon, 4 Mar 2019 13:25:29 -0800 Subject: [PATCH] Move mediaswcodec service to APEX bug: 127499775 test: - adb shell lshal debug android.hardware.media.c2@1.0::IComponentStore/software check all software c2 codecs are still listed - clean-built image shouldn't have mediaswcodec in /system/bin - atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small Change-Id: Ie528fe3b1053d5bfd9dc3b858c996b8e1c708cbc --- apex/com.android.media.swcodec-file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/apex/com.android.media.swcodec-file_contexts b/apex/com.android.media.swcodec-file_contexts index f6b21daaa..b718121a5 100644 --- a/apex/com.android.media.swcodec-file_contexts +++ b/apex/com.android.media.swcodec-file_contexts @@ -1,2 +1,3 @@ (/.*)? u:object_r:system_file:s0 /lib(64)?(/.*) u:object_r:system_lib_file:s0 +/bin/mediaswcodec u:object_r:mediaswcodec_exec:s0