From d91dde1d52307e652a885c278141c625002045e3 Mon Sep 17 00:00:00 2001 From: Ocean Chen Date: Thu, 8 Apr 2021 15:12:33 +0800 Subject: [PATCH] pixelstats: start service on boot completed Sometimes 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 Change-Id: I35625b94540baf637db07db3147839a79536378c Merged-In: I35625b94540baf637db07db3147839a79536378c --- pixelstats/pixelstats-vendor.gs101.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pixelstats/pixelstats-vendor.gs101.rc b/pixelstats/pixelstats-vendor.gs101.rc index fdf8f79e..98af5fc5 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