diff options
author | Kalle Raita <kraita@google.com> | 2017-07-14 16:18:16 -0700 |
---|---|---|
committer | Kalle Raita <kraita@google.com> | 2017-07-14 16:18:16 -0700 |
commit | 88efa56e1b7993e5ea32028c962ecd517c15ed3d (patch) | |
tree | cb2d47b423ac4697ee7c7f287300e47a33275d58 /cmds/bootanimation/BootAnimationUtil.cpp | |
parent | 803007fd816b3776a056b094ade3224343bf11cc (diff) |
Fix nobootanimation toggle
The sf.debug.nobootanimation was apparently broken in a recent
refactoring. Flipping the boolean in the utils fixes the issue.
Left some additional logging behind.
Test: marlin-eng boots
Test: my test can prevent the boot animation
Test: shell stop start shows boot animation
Change-Id: I815708a2f16a3a8688cf1a53695e5a8d43194575
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
-rw-r--r-- | cmds/bootanimation/BootAnimationUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/bootanimation/BootAnimationUtil.cpp b/cmds/bootanimation/BootAnimationUtil.cpp index 377d6ce372f2..7718daf61d81 100644 --- a/cmds/bootanimation/BootAnimationUtil.cpp +++ b/cmds/bootanimation/BootAnimationUtil.cpp @@ -29,7 +29,7 @@ bool bootAnimationDisabled() { char value[PROPERTY_VALUE_MAX]; property_get("debug.sf.nobootanimation", value, "0"); if (atoi(value) > 0) { - return false; + return true; } property_get("ro.boot.quiescent", value, "0"); |