Merge commit '33476b2db82b5a7f025eb9625fa56f94290e97f4' * commit '33476b2db82b5a7f025eb9625fa56f94290e97f4': Don't crash on null Vibrator during reboot.
This commit is contained in:
@@ -413,7 +413,7 @@ public final class ShutdownThread extends Thread {
|
||||
// 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) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user