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:
Alberto97
2017-12-02 16:53:09 +01:00
committed by therootlord
parent 2bd9b6b23d
commit fb4587b977
4 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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;