summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2020-09-15 14:08:14 +0800
committerMing-Shin Lu <lumark@google.com>2020-09-24 23:23:47 +0800
commit9d63d3557870884a221f45d270efb8ad8486c661 (patch)
treee0d0488a9c6e584516cd0d717773c24af8303721 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent770baec3c6353cd45a8ebe651b12578a4eecbaa0 (diff)
Fix showing keyboard without editor focused in some cases (1-2/2)
As 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: I20e8076acc5fec3c055af0740e2e2a64b1fb6f0d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions