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:
parent
94677f5db6
commit
5350c9d183
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue