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
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user