summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2020-05-13 00:12:26 +0800
committerMing-Shin Lu <lumark@google.com>2020-05-14 08:29:18 +0800
commit2c6e80be1253140f1761c1bb4cc601e7e350e1b2 (patch)
tree99dfb4137b74301b88d1d61e8438f3f082c78f16 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta24033d8aacc8e96b1fadace0ea1e7e0073335a7 (diff)
Revert "Finish input when the screen state is off"
This reverts commit 0df8812486ff0b104622dec72d6243a783b10257. The original CL is trying to reduce the dependency of PownerManager to finish input when screen off by using display state. However, it doesn't fully fix the original Bug 26851566 since we only finish input connection but didn't callback onFinishInput callback for IME client. Also, for some scenarios, the window / view focus may not change during screen turns off / on: - Focusing timing when disable keyguard, then quickly screen off / on. - Using P-sensor to turning screen off / on. When the above scenario happens, makes input connection cannot re-start and soft-keyboard can't be shown. (The recovery is manually focus on next window or activity.) As the above reason, we need to re-consider the lifecycle of input connection, window / view focus when not only screen state but also device inactive state when always-on-display. Fix: 156045961 Fix: 154605805 Bug: 26851566 Bug: 156215187 Test: atest CtsInputMethodTestCases Change-Id: If06daf71160aa44a4254ac125561974ecbdef4f2
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions