diff options
| author | 2017-07-15 08:53:51 +0000 | |
|---|---|---|
| committer | 2017-07-15 08:53:51 +0000 | |
| commit | 2a45221faca38f4ded9f87ed10b339db22f54d26 (patch) | |
| tree | 2420023fa989f72c5fc898c08fb29193a2703917 | |
| parent | 99b254be5cc8ac800206480113dc09e4e19b6eb1 (diff) | |
| parent | 88efa56e1b7993e5ea32028c962ecd517c15ed3d (diff) | |
Merge "Fix nobootanimation toggle"
| -rw-r--r-- | cmds/bootanimation/BootAnimationUtil.cpp | 2 | ||||
| -rw-r--r-- | cmds/bootanimation/bootanimation_main.cpp | 2 |
2 files changed, 3 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"); diff --git a/cmds/bootanimation/bootanimation_main.cpp b/cmds/bootanimation/bootanimation_main.cpp index daac5887a500..8501982d071c 100644 --- a/cmds/bootanimation/bootanimation_main.cpp +++ b/cmds/bootanimation/bootanimation_main.cpp @@ -157,8 +157,10 @@ int main() // create the boot animation object sp<BootAnimation> boot = new BootAnimation(new AudioAnimationCallbacks()); + ALOGV("Boot animation set up. Joining pool."); IPCThreadState::self()->joinThreadPool(); } + ALOGV("Boot animation exit"); return 0; } |