| commit | 2998e69949e8b20e6b713c85542d3a5c5243ba22 | [log] [tgz] |
|---|---|---|
| author | Michael Bestas <mkbestas@lineageos.org> | Wed May 11 04:47:15 2022 +0300 |
| committer | Michael Bestas <mkbestas@lineageos.org> | Thu Aug 28 14:26:57 2025 +0300 |
| tree | b26996eced031e2302a285a22f240908ce46da37 | |
| parent | 8e3a0b5691c3994147c729e83a2c2e27edb1c064 [diff] |
fastboot: Prefer ro.boot.hardware.revision for hw-revision
ro.revision defaults to 0 if it's not set in cmdline.
Some devices might want to set it in their device specific init files,
however it's not possible to override ro properties.
Test: Set ro.boot.hardware.revision in device specific init.rc and
observe fastboot getvar hw-revision in fastbootd
Change-Id: I6e785c3fe3a49409e815af269a9a8db732b80ada