OSDN Git Service

Notify IME visibility when showWindow is called.
authorSeigo Nonaka <nona@google.com>
Wed, 15 Apr 2015 09:31:32 +0000 (18:31 +0900)
committerSeigo Nonaka <nona@google.com>
Fri, 24 Apr 2015 20:17:03 +0000 (13:17 -0700)
commit98d88028ae449fccfa8bace0d4ed3e34f6290658
tree959d136d508b6bd47bae48b57193eee4e2239c3b
parent7defaef1bfc05757652d3a5d00d35090397e7f3e
Notify IME visibility when showWindow is called.

To change the back icon, need to notify IME visibility to the
InputMethodManagerService when guest IME service calls showWindow().

IME can call showWindow() if it want to show software input, but it
doesn't send IME_VISIBLE state to the InputMethodManagerService,
hence the arrow icon is different from what we expect. This
typically happens when Latin IME shows Emoji panel by left-alt keys.

Bug: 20318050

Change-Id: I0ec2c71ad9bc3b7e9259d9180375d9062fc7e154
core/java/android/inputmethodservice/InputMethodService.java