Merge "Fix issue #5636525: ANR observed in setup wizard after changing language" into ics-mr1
This commit is contained in:
committed by
Android (Google) Code Review
commit
1808f214b0
@ -2720,6 +2720,10 @@ public final class ActivityManagerService extends ActivityManagerNative
|
|||||||
}
|
}
|
||||||
if (!r.finishing) {
|
if (!r.finishing) {
|
||||||
Slog.w(TAG, "Force removing " + r + ": app died, no saved state");
|
Slog.w(TAG, "Force removing " + r + ": app died, no saved state");
|
||||||
|
EventLog.writeEvent(EventLogTags.AM_FINISH_ACTIVITY,
|
||||||
|
System.identityHashCode(r),
|
||||||
|
r.task.taskId, r.shortComponentName,
|
||||||
|
"proc died without state saved");
|
||||||
}
|
}
|
||||||
r.makeFinishing();
|
r.makeFinishing();
|
||||||
mMainStack.mHistory.remove(i);
|
mMainStack.mHistory.remove(i);
|
||||||
@ -13596,6 +13600,7 @@ public final class ActivityManagerService extends ActivityManagerNative
|
|||||||
adj = ProcessList.PERCEPTIBLE_APP_ADJ;
|
adj = ProcessList.PERCEPTIBLE_APP_ADJ;
|
||||||
app.adjType = "stopping";
|
app.adjType = "stopping";
|
||||||
}
|
}
|
||||||
|
app.hidden = false;
|
||||||
app.foregroundActivities = true;
|
app.foregroundActivities = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user