pixelstats: start service on boot completed
Sometims the init needs to take more time to
change the compr_saved_block and compr_new_inode
from root:root to system:system
Otherwise, pixelstats cannot write these two sysnode
Bug: 173399386
Test: pixel/022
Signed-off-by: Ocean Chen <oceanchen@google.com>
Change-Id: I35625b94540baf637db07db3147839a79536378c
diff --git a/pixelstats/pixelstats-vendor.gs101.rc b/pixelstats/pixelstats-vendor.gs101.rc
index fdf8f79..d324b6a 100644
--- a/pixelstats/pixelstats-vendor.gs101.rc
+++ b/pixelstats/pixelstats-vendor.gs101.rc
@@ -1,4 +1,8 @@
+on property:sys.boot_completed=1
+ start vendor.pixelstats_vendor
+
service vendor.pixelstats_vendor /vendor/bin/pixelstats-vendor
class hal
user system
group system context_hub readproc
+ disabled
\ No newline at end of file