summaryrefslogtreecommitdiff
path: root/init/reboot.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-05-28 03:12:05 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-05-28 03:12:05 +0000
commit6220136528a29e96838bf6e18ea81dad9995cecc (patch)
tree62d78b6f2b3873de7c078a44a0f7b294e68cdd7e /init/reboot.cpp
parent8c2ad73742ead5dd9cec3ac78be9ca002ca8ee38 (diff)
parent0e68ab18fbef221e1a18fbf63babfd5d17bf3b2c (diff)
Snap for 5608795 from 0e68ab18fbef221e1a18fbf63babfd5d17bf3b2c to rvc-release
Change-Id: I43f1c8b8baeaab87a6a5eb0d4821df44124bb622
Diffstat (limited to 'init/reboot.cpp')
-rw-r--r--init/reboot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/init/reboot.cpp b/init/reboot.cpp
index 0966b6cd6..54f68bb8f 100644
--- a/init/reboot.cpp
+++ b/init/reboot.cpp
@@ -527,13 +527,13 @@ static void DoReboot(unsigned int cmd, const std::string& reason, const std::str
// start all animation classes if stopped.
if (do_shutdown_animation) {
- service->Start().IgnoreError();
+ service->Start();
}
service->SetShutdownCritical(); // will not check animation class separately
}
if (do_shutdown_animation) {
- bootAnim->Start().IgnoreError();
+ bootAnim->Start();
surfaceFlinger->SetShutdownCritical();
bootAnim->SetShutdownCritical();
}