summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTarandeep Singh <tarandeep@google.com>2020-03-02 10:41:14 -0800
committerTaran Singh <tarandeep@google.com>2020-03-03 23:43:37 +0000
commit7bbce8ee6b647e48e4fedcb8851b7cce1dac01a9 (patch)
treed40a0f94bff9ed322c4f9066d0cd34b2db353791 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent81866d41499c496758048fa559f4cc7dbc67160f (diff)
Ignore unchecked IME show/hide when no root
Both showSoftInputUnchecked() and closeCurrenInput() rely on rootView to obtain window token. If view root is null, window has already gone away and IME control had been revoked. Trying to show or hide at this time would be a no-op. Bug: 149900693 Test: Manually using the steps mentioned in bug and verify that there is no NPE. Change-Id: I294bb2ec5395d7502a855bafbac672af069e9b4a Merged-In: I294bb2ec5395d7502a855bafbac672af069e9b4a (cherry picked from commit ba9b716a7092f97997fa4c2389d393e605d1c8ab)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions