Merge "IndexOutOfBoundsException observed in ProcessStats" am: 6408e2e5cc am: eedd2b529d

am: 53d12379f4

Change-Id: I4bcde8dde8c3bad7754e26dd56f8321032daa5a3
This commit is contained in:
Christopher Wiley
2016-10-14 14:21:39 +00:00
committed by android-build-merger

View File

@@ -379,7 +379,7 @@ public final class ProcessState {
public void setState(int state, long now) {
ensureNotDead();
if (mCurState != state) {
if (!mDead && (mCurState != state)) {
//Slog.i(TAG, "Setting state in " + mName + "/" + mPackage + ": " + state);
commitStateTime(now);
mCurState = state;