Merge "Add boot animation progress system property."
This commit is contained in:
commit
5266e041ef
2 changed files with 3 additions and 0 deletions
|
|
@ -655,6 +655,7 @@ static void DoReboot(unsigned int cmd, const std::string& reason, const std::str
|
||||||
|
|
||||||
if (do_shutdown_animation) {
|
if (do_shutdown_animation) {
|
||||||
SetProperty("service.bootanim.exit", "0");
|
SetProperty("service.bootanim.exit", "0");
|
||||||
|
SetProperty("service.bootanim.progress", "0");
|
||||||
// Could be in the middle of animation. Stop and start so that it can pick
|
// Could be in the middle of animation. Stop and start so that it can pick
|
||||||
// up the right mode.
|
// up the right mode.
|
||||||
boot_anim->Stop();
|
boot_anim->Stop();
|
||||||
|
|
|
||||||
|
|
@ -1071,6 +1071,7 @@ on property:vold.decrypt=trigger_restart_framework
|
||||||
class_start main
|
class_start main
|
||||||
class_start late_start
|
class_start late_start
|
||||||
setprop service.bootanim.exit 0
|
setprop service.bootanim.exit 0
|
||||||
|
setprop service.bootanim.progress 0
|
||||||
start bootanim
|
start bootanim
|
||||||
|
|
||||||
on property:vold.decrypt=trigger_shutdown_framework
|
on property:vold.decrypt=trigger_shutdown_framework
|
||||||
|
|
@ -1172,6 +1173,7 @@ on userspace-reboot-requested
|
||||||
setprop sys.user.0.ce_available ""
|
setprop sys.user.0.ce_available ""
|
||||||
setprop sys.shutdown.requested ""
|
setprop sys.shutdown.requested ""
|
||||||
setprop service.bootanim.exit ""
|
setprop service.bootanim.exit ""
|
||||||
|
setprop service.bootanim.progress ""
|
||||||
|
|
||||||
on userspace-reboot-fs-remount
|
on userspace-reboot-fs-remount
|
||||||
# Make sure that vold is running.
|
# Make sure that vold is running.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue