Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a8a91f7 authored by Nikolas Havrikov's avatar Nikolas Havrikov Committed by Android (Google) Code Review
Browse files

Merge "Remove moot synchronization on shutdown"

parents b3118c50 7af36afe
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1021,10 +1021,8 @@ public final class SystemServer implements Dumpable {
            Runnable runnable = new Runnable() {
                @Override
                public void run() {
                    synchronized (this) {
                    ShutdownThread.rebootOrShutdown(null, reboot, reason);
                }
                }
            };

            // ShutdownThread must run on a looper capable of displaying the UI.