Skip to content
Snippets Groups Projects
Commit 480dc8cd authored by Chris Tate's avatar Chris Tate Committed by Android (Google) Code Review
Browse files

Merge "More fixes towards the race conditions in AMS" into qt-qpr1-dev

parents 8c06aa91 b5811280
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment