summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTarandeep Singh <tarandeep@google.com>2020-03-02 10:41:14 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-04 00:43:21 +0000
commit10b6086a4569dc0d47d988c0bf29c8cf81416748 (patch)
treee0043445c3b16ea5442023c2806d06a9c4ac2ce1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent96ad79a7a0ee80ea04bf5ffe15485e404d8a1b04 (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 (cherry picked from commit ba9b716a7092f97997fa4c2389d393e605d1c8ab)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions