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
This commit is contained in:
Shrikara B 2020-06-10 11:10:45 +05:30 committed by OdSazib
parent 94677f5db6
commit 5350c9d183
No known key found for this signature in database
GPG key ID: A2D2E5C18BB04462

View file

@ -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 # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met: # 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 on property:ro.bluetooth.ftm_enabled=true
start vendor.ftmd 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 service vendor.qcom-c_main-sh /vendor/bin/init.class_main.sh
class main class main
user root user root