sanders: Set ro.boot.hardware.revision instead of ro.hw.revision
* Settings look for ro.boot.hardware.revision to show the hardware revision jhenrique09: Adapt to potter Signed-off-by: jhenrique09 <jhenrique09.mcz@hotmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ if [ "$minor2" == "0" ]; then
|
||||
minor1=""
|
||||
fi
|
||||
fi
|
||||
setprop ro.hw.revision p${hw%??}$minor1$minor2
|
||||
setprop ro.boot.hardware.revision p${hw%??}$minor1$minor2
|
||||
unset hw cinfo m1 m2 minor1 minor2
|
||||
|
||||
# Let kernel know our image version/variant/crm_version
|
||||
|
||||
@@ -149,7 +149,7 @@ done
|
||||
unset readiness
|
||||
|
||||
device_property=ro.hw.device
|
||||
hwrev_property=ro.hw.revision
|
||||
hwrev_property=ro.boot.hardware.revision
|
||||
firmware_path=/system/etc/firmware
|
||||
|
||||
let dec_cfg_id_boot=0; dec_cfg_id_latest=0;
|
||||
|
||||
Reference in New Issue
Block a user