summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/bootanimation_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/bootanimation/bootanimation_main.cpp')
-rw-r--r--cmds/bootanimation/bootanimation_main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmds/bootanimation/bootanimation_main.cpp b/cmds/bootanimation/bootanimation_main.cpp
index 48a34e7dbf62..dca7ea6daa3e 100644
--- a/cmds/bootanimation/bootanimation_main.cpp
+++ b/cmds/bootanimation/bootanimation_main.cpp
@@ -37,6 +37,10 @@ int main()
char value[PROPERTY_VALUE_MAX];
property_get("debug.sf.nobootanimation", value, "0");
int noBootAnimation = atoi(value);
+ if (!noBootAnimation) {
+ property_get("ro.boot.quiescent", value, "0");
+ noBootAnimation = atoi(value);
+ }
ALOGI_IF(noBootAnimation, "boot animation disabled");
if (!noBootAnimation) {
@@ -47,7 +51,6 @@ int main()
sp<BootAnimation> boot = new BootAnimation();
IPCThreadState::self()->joinThreadPool();
-
}
return 0;
}