From 6156b9b8baa4fafa50d40a3cb213ee0799c8237c Mon Sep 17 00:00:00 2001 From: Daniel Rosenberg Date: Thu, 11 Oct 2018 15:35:07 -0700 Subject: [PATCH] Call markBootAttempt when serice manager available This causes adds a call the fucntion to decrement the checkpoint's retry count as soon as service manager is available. Test: vdc setCheckpoint 2 then reboot 3 times checking state Bug: 112901762 Change-Id: Ie0a78b1eb05b340718e76175509d1ebefae68017 --- rootdir/init.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index 9aaad8fcf..21d234f78 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -336,6 +336,8 @@ on post-fs start servicemanager start hwservicemanager start vndservicemanager + start vold + exec - system system -- /system/bin/vdc checkpoint markBootAttempt # Once everything is setup, no need to modify /. # The bind+remount combination allows this to work in containers.