PL2: Switch to vendor.prop for setting properties

Stock was having these properties in init in order to set them as per
devices. However, this tree is standalone, so there shouldn't be any
issue in moving them to a seperate prop

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1d1e55dc2fdb022909210839c72a2fa57a46e72e
This commit is contained in:
Aayush Gupta
2020-10-05 05:12:50 +00:00
parent 0ce46186ee
commit 2d9b5f9e70
3 changed files with 15 additions and 14 deletions

View File

@@ -38,3 +38,6 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648
BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824
BOARD_FLASH_BLOCK_SIZE := 262144
# Properties
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop

View File

@@ -1,17 +1,3 @@
on early-boot
# Audio
setprop persist.audio.fluence.voicecomm true
# Camera
setprop persist.camera.ffcolor FFDAB9
setprop persist.capture.burst.exposures 0,-9,9
# Fingerprint
setprop ro.hardware.fingerprint elan
# Radio
setprop ro.rf.power.reduction.for.mcc 1
on boot
# Fingerprint
chown system system /dev/elan_fp

12
vendor.prop Normal file
View File

@@ -0,0 +1,12 @@
# Audio
persist.audio.fluence.voicecomm=true
# Camera
persist.camera.ffcolor=true
persist.capture.burst.exposures=0,-9,9
# Fingerprint
ro.hardware.fingerprint=elan
# Radio
ro.rf.power.reduction.for.mcc=1