RESTRICT AUTOMERGE Reland "Fix showing keyboard without editor focused.."
Resolve SearchViewTest and InputMethodServiceTest failure when landing CL[1] in QPR branch. Also, CL[1] mentioned window focus behavior changes from R, ignoring STATE_VISIBLE or STATE_ALWAYS_VISIBLE request doesn't enough to fix unexpected keyboard visible issue when same window focused with the above softInput flag without editor focus, since there is no additional unspecified window focus to hide the current soft-input as prior to R's behavior. To fix that, we introduced new SoftInputShowHideReason to hide soft-input when the same window focused without valid editor focus after screen unlock, in order to align with the behavior prior to R. [1]: I37ae6e30d1de581ba15131c2a90396b3a522a4d6 Bug: 161506356 Test: atest CtsInputMethodTestCases Change-Id: Id51863a5b67d5d79d903adf43f19b52bd139e03f
Loading
Please register or sign in to comment