From 5350c9d1832c26293297f39ffc1f99c0b0929e11 Mon Sep 17 00:00:00 2001 From: Shrikara B Date: Wed, 10 Jun 2020 11:10:45 +0530 Subject: [PATCH] sdm660-common: rootdir: Set Netflix and media property based on target Add support to set "ro.netflix.bsp_rev" property at run time depending on the target. This is needed when 2 or targets are binary compatible, but have different Netflix proprty for device whitelisting. Change-Id: I9484f2886a8b7d986c762fa9031c0e541f15c7e1 --- rootdir/etc/init.qcom.rc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 3935ad02..3c761144 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1,4 +1,4 @@ -# Copyright (c) 2009-2012, 2014-2019, The Linux Foundation. All rights reserved. +# Copyright (c) 2009-2012, 2014-2020, 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 met: @@ -581,6 +581,12 @@ on property:init.svc.wpa_supplicant=stopped on property:ro.bluetooth.ftm_enabled=true start vendor.ftmd +on property:vendor.media.target.version=* + setprop vendor.sys.media.target.version ${vendor.media.target.version} + +on property:vendor.netflix.bsp_rev=* + setprop ro.netflix.bsp_rev ${vendor.netflix.bsp_rev} + service vendor.qcom-c_main-sh /vendor/bin/init.class_main.sh class main user root