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

Commit 56385cc4 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #6111771: Run-time Restart observed when signing in with an existing account

Change-Id: Ic6defb598cb08f2728d99eed7d0b209c88dd1a49
parent 3ea87619
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -8050,8 +8050,10 @@ public final class ActivityManagerService extends ActivityManagerNative
            }
        };
        if (process == null || process.pid == MY_PID) {
            worker.run();  // We may be about to die -- need to run this synchronously
        if (process == null) {
            // If process is null, we are being called from some internal code
            // and may be about to die -- run this synchronously.
            worker.run();
        } else {
            worker.start();
        }