Merge "Wrong index while dumping the print sub-system's state." into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
da59cd60b1
@@ -366,7 +366,7 @@ public final class PrintManagerService extends IPrintManager.Stub {
|
||||
pw.println("PRINT MANAGER STATE (dumpsys print)");
|
||||
final int userStateCount = mUserStates.size();
|
||||
for (int i = 0; i < userStateCount; i++) {
|
||||
UserState userState = mUserStates.get(i);
|
||||
UserState userState = mUserStates.valueAt(i);
|
||||
userState.dump(fd, pw, "");
|
||||
pw.println();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user