From 88efa56e1b7993e5ea32028c962ecd517c15ed3d Mon Sep 17 00:00:00 2001 From: Kalle Raita Date: Fri, 14 Jul 2017 16:18:16 -0700 Subject: 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 --- cmds/bootanimation/BootAnimationUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/bootanimation/BootAnimationUtil.cpp') 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"); -- cgit v1.2.3-59-g8ed1b