commit | e331644cb570e74a8739cb21ffcc5875663ffa58 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@android.com> | Thu Oct 14 19:40:56 2010 -0700 |
committer | Brad Fitzpatrick <bradfitz@android.com> | Thu Oct 14 20:53:06 2010 -0700 |
tree | 61c735db06ff18e2c6b1757bafb3cb743026a134 | |
parent | b593d976137389dcbe061f10ec13d79f0427baa3 [diff] |
Don't crash on null Vibrator during reboot. Bug: 3099305 Change-Id: I9af126f7a719f36ae544f517a2fccd0d33339389
diff --git a/core/java/com/android/internal/app/ShutdownThread.java b/core/java/com/android/internal/app/ShutdownThread.java index 714b259..1fcd654 100644 --- a/core/java/com/android/internal/app/ShutdownThread.java +++ b/core/java/com/android/internal/app/ShutdownThread.java
@@ -364,7 +364,7 @@ // vibrator is asynchronous so we need to wait to avoid shutting down too soon. try { Thread.sleep(SHUTDOWN_VIBRATE_MS); - } catch (InterruptedException e) { + } catch (InterruptedException unused) { } }