sm7325-common: rootdir: Set ro.boot.hardware.revision

Bootloader sets ro.boot.revision, we can use this to show
"Hardware version" in model information in Settings.

Change-Id: Id2d825f60f792e6d05c0b34cfee811a0ac3b5604
This commit is contained in:
Adithya R 2023-05-23 22:55:14 +05:30 committed by Marc Bourgoin
parent 3dd594656e
commit dec61d442b

View File

@ -390,6 +390,9 @@ on property:vendor.hw.touch.status="dead"
on property:vendor.hw.touch.status="ready" on property:vendor.hw.touch.status="ready"
start vendor.touch-ready-sh start vendor.touch-ready-sh
on property:ro.boot.revision=*
setprop ro.boot.hardware.revision ${ro.boot.revision}
service vendor.charge_only_mode /vendor/bin/charge_only_mode service vendor.charge_only_mode /vendor/bin/charge_only_mode
user root user root
group graphics system input group graphics system input