OSDN Git Service

Fixed mClientState dump.
authorFelipe Leme <felipeal@google.com>
Thu, 29 Mar 2018 18:26:53 +0000 (11:26 -0700)
committerFelipe Leme <felipeal@google.com>
Thu, 29 Mar 2018 18:27:31 +0000 (11:27 -0700)
Test: adb shell dumpsys autofill
Bug: 72986827

Change-Id: I1df10dde0e16c68004cc99b47f84026d3c06c5b8

services/autofill/java/com/android/server/autofill/Session.java

index 706a6ab..e14584f 100644 (file)
@@ -2503,8 +2503,8 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
 
         pw.print(prefix); pw.print("mHasCallback: "); pw.println(mHasCallback);
         if (mClientState != null) {
-            pw.print(prefix); pw.println("mClientState: "); pw.print(mClientState.getSize()); pw
-                .println(" items");
+            pw.print(prefix); pw.print("mClientState: "); pw.print(mClientState.getSize()); pw
+                .println(" bytes");
         }
         pw.print(prefix); pw.print("mCompatMode: "); pw.println(mCompatMode);
         pw.print(prefix); pw.print("mUrlBar: ");