From 90a13ffb7086022239d894217421678c6912e5eb Mon Sep 17 00:00:00 2001 From: Junda Liu Date: Mon, 12 Jun 2017 14:34:19 -0700 Subject: [PATCH] Set build.hardware.revision property. Bug: b/38167472 Test: make & check property Change-Id: I5aab680dd83a04237448438d5a4d69450f89a844 --- init-taimen.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init-taimen.rc b/init-taimen.rc index fb8b1ee..43461fc 100644 --- a/init-taimen.rc +++ b/init-taimen.rc @@ -30,6 +30,9 @@ on init && property:ro.boot.slot=* # will remove this once slot_suffix is deprecated setprop ro.boot.slot_suffix _${ro.boot.slot} +on init && property:ro.boot.revision=* + setprop ro.boot.hardware.revision ${ro.boot.revision} + on property:init.svc.fps_hal=running && property:ro.boot.revision=rev_0 stop fps_hal