Merge "Fix NPE in app hibernation dump command." into sc-qpr1-dev am: 9197f62ab3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15857695 Change-Id: Ibe5c1987424dd674df6017420af851af3cf718d5
This commit is contained in:
@@ -696,7 +696,7 @@ public final class AppHibernationService extends SystemService {
|
||||
idpw.print("User Level Hibernation States, ");
|
||||
idpw.printPair("user", userId);
|
||||
idpw.println();
|
||||
Map<String, UserLevelState> stateMap = mUserStates.get(i);
|
||||
Map<String, UserLevelState> stateMap = mUserStates.get(userId);
|
||||
idpw.increaseIndent();
|
||||
for (UserLevelState state : stateMap.values()) {
|
||||
idpw.print(state);
|
||||
|
||||
Reference in New Issue
Block a user