Merge "Do not restart process of a finishing activity" into udc-dev

This commit is contained in:
Riddle Hsu
2023-04-07 04:45:50 +00:00
committed by Android (Google) Code Review

View File

@@ -9762,6 +9762,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
* directly with keeping its record.
*/
void restartProcessIfVisible() {
if (finishing) return;
Slog.i(TAG, "Request to restart process of " + this);
// Reset the existing override configuration so it can be updated according to the latest