mirror of
https://github.com/Evolution-X-Devices/device_nokia_PL2
synced 2026-02-01 09:24:01 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
12
vendor.prop
Normal 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
|
||||
Reference in New Issue
Block a user