summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorIsaac Lee <isaac.lee@mediatek.com>2018-07-26 17:07:25 +0800
committerHung-ying Tyan <tyanh@google.com>2018-08-30 16:44:34 +0000
commitf32c20174349c058b20d3819802ed8aa8277c72d (patch)
treefbfdaa7a70f573495dffda6dd5d522f092168797 /rootdir
parent53ba407a891df5b7cff5f62592332af9222a68c8 (diff)
downloadsystem_core-f32c20174349c058b20d3819802ed8aa8277c72d.tar.gz
system_core-f32c20174349c058b20d3819802ed8aa8277c72d.tar.bz2
system_core-f32c20174349c058b20d3819802ed8aa8277c72d.zip
Show bootanimation after decrypt
Because the original modification (restart SF which is added for display bootanimation) from O to P causes bootanimation NPE, we remove the part of restart SF and add other flow to show bootanimation. Test: manual, ran the test 10 times and it cause no NPE and display BootAnimation after decrypt Test: boot aosp_sailfish Bug: 79547653 Change-Id: I355ccdbb2e2f27d897e2e0ee00f9300ef38ede03
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index db89ea80a..1c2ef6423 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -716,12 +716,12 @@ on property:vold.decrypt=trigger_restart_min_framework
class_start main
on property:vold.decrypt=trigger_restart_framework
- stop surfaceflinger
- start surfaceflinger
# A/B update verifier that marks a successful boot.
exec_start update_verifier
class_start main
class_start late_start
+ setprop service.bootanim.exit 0
+ start bootanim
on property:vold.decrypt=trigger_shutdown_framework
class_reset late_start