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

Commit b49f2e41 authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "More fixes towards the race conditions in AMS"

parents 8beb64d0 b2e84f04
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -383,7 +383,11 @@ class AppErrors {
            // and then the delayed summary kill will be a no-op.
            final ProcessRecord p = proc;
            mService.mHandler.postDelayed(
                    () -> killAppImmediateLocked(p, "forced", "killed for invalid state"),
                    () -> {
                        synchronized (mService) {
                            killAppImmediateLocked(p, "forced", "killed for invalid state");
                        }
                    },
                    5000L);
        }
    }