diff options
author | Manikanta Kanamarlapudi <kmanikan@codeaurora.org> | 2021-10-22 13:31:47 +0530 |
---|---|---|
committer | Manikanta Kanamarlapudi <kmanikan@codeaurora.org> | 2021-11-01 13:07:33 +0530 |
commit | 20f92b216500763279b278914cfd3df14998d3e4 (patch) | |
tree | 149d91ca6867c9bbd5053a6fbeed1f0c75fba7f6 | |
parent | ffa05f19e1ff765b6d345a079241217537b7ccb6 (diff) |
media: set netflix property for khaje target
set netflix property for khaje target
Change-Id: I69b059efd8f25f4c1528a92576ed960c25ee0fcc
-rw-r--r-- | media-prop/init.qti.media.rc | 3 | ||||
-rw-r--r-- | media-prop/init.qti.media.sh | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/media-prop/init.qti.media.rc b/media-prop/init.qti.media.rc index 74ff2770..ce80d3da 100644 --- a/media-prop/init.qti.media.rc +++ b/media-prop/init.qti.media.rc @@ -1,7 +1,7 @@ #============================================================================== # init.qti.media.rc # -# Copyright (c) 2020, The Linux Foundation. All rights reserved. +# Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are @@ -37,6 +37,7 @@ service qti-media /vendor/bin/init.qti.media.sh seclabel u:r:vendor_qti_media:s0 on early-init + setprop vendor.media.system.build_codename ${ro.build.version.release_or_codename} start qti-media on post-fs-data diff --git a/media-prop/init.qti.media.sh b/media-prop/init.qti.media.sh index fa9f77f6..c2a9727f 100644 --- a/media-prop/init.qti.media.sh +++ b/media-prop/init.qti.media.sh @@ -30,6 +30,8 @@ # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #=============================================================================== +build_codename=`getprop vendor.media.system.build_codename` + if [ -f /sys/devices/soc0/soc_id ]; then soc_hwid=`cat /sys/devices/soc0/soc_id` 2> /dev/null else @@ -49,6 +51,9 @@ case "$target" in ;; 518) setprop vendor.media.target.version 3 + if [ $build_codename -le "12" ]; then + setprop vendor.netflix.bsp_rev "Q6115-31409-1" + fi ;; *) sku_ver=`cat /sys/devices/platform/soc/5a00000.qcom,vidc/sku_version` 2> /dev/null |