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

Commit a9c5257a authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am a0bb44ef: Merge "Finish crashed activities immediately" into klp-modular-dev

* commit 'a0bb44ef':
  Finish crashed activities immediately
parents bc3699b1 a0bb44ef
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3592,7 +3592,9 @@ final class ActivityStack {
                if (r.app == app) {
                    Slog.w(TAG, "  Force finishing activity "
                            + r.intent.getComponent().flattenToShortString());
                    finishActivityLocked(r, Activity.RESULT_CANCELED, null, "crashed", false);
                    // Force the destroy to skip right to removal.
                    r.app = null;
                    finishCurrentActivityLocked(r, FINISH_IMMEDIATELY, false);
                }
            }
        }