summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
authorKalle Raita <kraita@google.com>2017-07-14 16:18:16 -0700
committerKalle Raita <kraita@google.com>2017-07-14 16:18:16 -0700
commit88efa56e1b7993e5ea32028c962ecd517c15ed3d (patch)
treecb2d47b423ac4697ee7c7f287300e47a33275d58 /cmds/bootanimation/BootAnimationUtil.cpp
parent803007fd816b3776a056b094ade3224343bf11cc (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.cpp2
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");