From 53abb30f604575fdd7149a40c2c702887d51caf1 Mon Sep 17 00:00:00 2001 From: weivincewang Date: Thu, 26 Mar 2020 23:19:44 +0100 Subject: [PATCH] miatoll: rootdir: Launch bootanimation early Also includes: commit 82dcb788c9c2ee5d50e75e050550cc841262d3df Author: Kuba Wojciechowski Date: Mon Jun 15 21:01:20 2020 +0200 ginkgo: rootdir: Move boot animation early start to late-init * "on init" is triggered in offline charge mode too causing boot animation to launch in that mode. * Ref: https://github.com/aosp-mirror/platform_system_core/blob/150687b/init/init.cpp#L854-L866 Signed-off-by: Adithya R --- rootdir/etc/init.device.rc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rootdir/etc/init.device.rc b/rootdir/etc/init.device.rc index 0a7af2a..f6bbaa3 100644 --- a/rootdir/etc/init.device.rc +++ b/rootdir/etc/init.device.rc @@ -27,6 +27,14 @@ on property:persist.sys.device_provisioned=1 setprop dalvik.vm.dex2oat-cpu-set 0,1,2,3,4,5,7 setprop dalvik.vm.dex2oat-threads 6 +on late-init + # Start services for bootanim + start surfaceflinger + start bootanim + start vendor.hwcomposer-2-3 + start vendor.configstore-hal + start vendor.qti.hardware.display.allocator + # perf tuning on property:vendor.post_boot.parsed=1 # Setup runtime cpusets