summaryrefslogtreecommitdiff
path: root/core/java/android/widget/ImeAwareEditText.java
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate ImeAwareEditText#scheduleShowSoftInput (1/2)Ming-Shin Lu2021-02-171-1/+1
| | | | | | | | | | | | | | | | | | | As InputMethodManager#isActive(View) may not always predictable as reality since the method only check if the given view has been aligned with the current served view, but not consider if the view has an active input connection. Test flakiness may happen when verifying showSoftInput should be invoked after onStartInput but the event stream shows the reversed sequence. Consolidate scheduleShowSoftInput by checking IMM#hasActiveInputConnection to make sure showSoftInput request should invoked after the input connection activated by the given focus view. Bug: 176697749 Test: atest --iterations 100 KeyboardVisibilityControlTest#\ testImeInvisibleWhenForceStopPkgProcess_Full Change-Id: I466a93e2b4706ae809ac50dc16dc8e4ffa7c2f1c
* Move ImeAwareTextEdit from Settings to android.widgetKevin Chyn2020-04-281-0/+96
Also use it for AuthCredentialPasswordView Bug: 154161590 Test: BiometricPromptDemo, authenticate with password Change-Id: I17601848dd9be3d0580988e3ff613c3793dfed51