Merge "Remove moot synchronization on shutdown"

This commit is contained in:
Nikolas Havrikov
2023-01-23 16:37:05 +00:00
committed by Android (Google) Code Review

View File

@@ -1021,9 +1021,7 @@ public final class SystemServer implements Dumpable {
Runnable runnable = new Runnable() {
@Override
public void run() {
synchronized (this) {
ShutdownThread.rebootOrShutdown(null, reboot, reason);
}
ShutdownThread.rebootOrShutdown(null, reboot, reason);
}
};