Merge "IndexOutOfBoundsException observed in ProcessStats"
am: 6408e2e5cc
Change-Id: I54ad3ac5a5e37371d787f4fee09fd8d73787665d
This commit is contained in:
@@ -379,7 +379,7 @@ public final class ProcessState {
|
|||||||
|
|
||||||
public void setState(int state, long now) {
|
public void setState(int state, long now) {
|
||||||
ensureNotDead();
|
ensureNotDead();
|
||||||
if (mCurState != state) {
|
if (!mDead && (mCurState != state)) {
|
||||||
//Slog.i(TAG, "Setting state in " + mName + "/" + mPackage + ": " + state);
|
//Slog.i(TAG, "Setting state in " + mName + "/" + mPackage + ": " + state);
|
||||||
commitStateTime(now);
|
commitStateTime(now);
|
||||||
mCurState = state;
|
mCurState = state;
|
||||||
|
|||||||
Reference in New Issue
Block a user