From bd6ab49555065abe090600c1d10d0263e1338be1 Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Thu, 9 Feb 2017 09:58:14 -0800 Subject: [PATCH] bootstat.rc: record post_decrypt_time_elapsed only for FDE device Bug: 35110957 Test: on marlin Change-Id: Id32f65ad4d693dcf52f1581bf55b3fe671c985cc --- bootstat/bootstat.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstat/bootstat.rc b/bootstat/bootstat.rc index b07241237..f4756d59d 100644 --- a/bootstat/bootstat.rc +++ b/bootstat/bootstat.rc @@ -8,7 +8,8 @@ on post-fs-data # # post-fs-data: /data is writable # property:init.svc.bootanim=running: The boot animation is running -on post-fs-data && property:init.svc.bootanim=running +# property:ro.crypto.type=block: FDE device +on post-fs-data && property:init.svc.bootanim=running && property:ro.crypto.type=block exec - root root -- /system/bin/bootstat -r post_decrypt_time_elapsed # sys.logbootcomplete is a signal to enable the bootstat logging mechanism.