Merge "Finish crashed activities immediately" into klp-modular-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a0bb44efe9
@ -3579,7 +3579,9 @@ final class ActivityStack {
|
|||||||
if (r.app == app) {
|
if (r.app == app) {
|
||||||
Slog.w(TAG, " Force finishing activity "
|
Slog.w(TAG, " Force finishing activity "
|
||||||
+ r.intent.getComponent().flattenToShortString());
|
+ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user