OSDN Git Service

Move IME related API methods from IMM to IMS.
authorTarandeep Singh <tarandeep@google.com>
Tue, 28 Nov 2017 21:35:32 +0000 (13:35 -0800)
committerTarandeep Singh <tarandeep@google.com>
Fri, 8 Dec 2017 18:40:38 +0000 (10:40 -0800)
commitd8d03a8e1b5b7f4b05d7f99a19d356ffd95edb58
tree5e6ada200a551726394fa15138c6e588498779d9
parent0fd3565630af1bdb95eed411c44937b8a80265df
Move IME related API methods from IMM to IMS.

InputMethodManager is public InputMethod API for apps. The methods
that take Window-token as parameter are restricted to system
and/or IME developers. Such methods should really live
in InputMethodService.
This CL deprecates such methods in IMM and moves them to IMS.

This is the first step towards simplifying IME APIs.

Bug: 70282603
Test: atest InputMethodManagerTest
Change-Id: I3163f3cbe557c85103ca287bee0874a3b4194032
api/current.txt
core/java/android/inputmethodservice/InputMethodService.java
core/java/android/view/inputmethod/InputMethodManager.java