summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2021-02-01 13:42:32 +0800
committerMing-Shin Lu <lumark@google.com>2021-02-17 01:02:34 +0800
commit8bcce88c8608d77a2fb760e932fed8f08e3645fe (patch)
tree2b8bf2f13a80dcd5296803071582b7a6c8fc1cb4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc304c1624dbab0d31f14ac96ec99b886032e53f3 (diff)
Consolidate ImeAwareEditText#scheduleShowSoftInput (1/2)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions