From 72d54e47af35e127c280714a0542df44f58334db Mon Sep 17 00:00:00 2001 From: theimpulson Date: Mon, 13 Apr 2020 17:52:39 +0000 Subject: [PATCH] rw-system: Enforce vendor media_profiles on PL2 *This fixes https://github.com/phhusson/treble_experimentations/issues/379 Signed-off-by: theimpulson --- rw-system.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rw-system.sh b/rw-system.sh index 96b57f7..095d129 100644 --- a/rw-system.sh +++ b/rw-system.sh @@ -663,3 +663,7 @@ if getprop ro.omc.build.version |grep -qE .;then mount /system/phh/empty $f done fi + +if getprop ro.vendor.build.fingerprint |grep -qiE -e Nokia/Plate2; then + setprop media.settings.xml "/vendor/etc/media_profiles_vendor.xml" +fi