Merge "Fix SoftInputShowHideHistory entry seq number representation" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-15 18:30:38 +00:00
committed by Android (Google) Code Review

View File

@@ -784,6 +784,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
private static final AtomicInteger sSequenceNumber = new AtomicInteger(0);
private static final class Entry {
final int mSequenceNumber = sSequenceNumber.getAndIncrement();
final ClientState mClientState;
@SoftInputModeFlags
final int mFocusedWindowSoftInputMode;
@@ -831,7 +832,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
continue;
}
pw.print(prefix);
pw.println("SoftInputShowHideHistory #" + sSequenceNumber.getAndIncrement() + ":");
pw.println("SoftInputShowHideHistory #" + entry.mSequenceNumber + ":");
pw.print(prefix);
pw.println(" time=" + dataFormat.format(new Date(entry.mWallTime))