Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebe84bbc authored by James Hawkins's avatar James Hawkins Committed by android-build-merger
Browse files

Merge "bootstat: Fix the boot complete signal for FBE devices."

am: 6e5f7302

Change-Id: I18a54e10b495434a7a4b78d44d37814a09fbf919
parents 27123d52 6e5f7302
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -11,13 +11,8 @@ on post-fs-data
on post-fs-data && property:init.svc.bootanim=running
    exec - root root -- /system/bin/bootstat -r post_decrypt_time_elapsed

# The first marker, boot animation stopped, is considered the point at which
# the user may interact with the device, so it is a good proxy for the boot
# complete signal.
#
# The second marker ensures an encrypted device is decrypted before logging
# boot time data.
on property:init.svc.bootanim=stopped && property:vold.decrypt=trigger_restart_framework
# Record boot complete metrics.
on property:sys.boot_completed=1
    # Record boot_complete and related stats (decryption, etc).
    exec - root root -- /system/bin/bootstat --record_boot_complete