Merge "Fix IndexOutOfBoundsException in process start timeout" into sc-dev
This commit is contained in:
@@ -4217,6 +4217,7 @@ public final class ActiveServices {
|
||||
Slog.w(TAG, "Forcing bringing down service: " + sr);
|
||||
sr.isolatedProc = null;
|
||||
mPendingServices.remove(i);
|
||||
size = mPendingServices.size();
|
||||
i--;
|
||||
needOomAdj = true;
|
||||
bringDownServiceLocked(sr, true);
|
||||
|
||||
@@ -643,7 +643,7 @@ class ProcessRecord implements WindowProcessListener {
|
||||
}
|
||||
|
||||
public void makeActive(IApplicationThread _thread, ProcessStatsService tracker) {
|
||||
mProfile.onProcessActive(thread, tracker);
|
||||
mProfile.onProcessActive(_thread, tracker);
|
||||
thread = _thread;
|
||||
mWindowProcessController.setThread(thread);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user