summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-08-28 19:10:32 -0700
committerYohei Yukawa <yukawa@google.com>2018-08-28 19:10:32 -0700
commite24ed79edb937c743b96b3f9baddc689fb694be1 (patch)
tree15c55eae3d20b6e4c32a4d6dc9d465863c54a350 /tools/aapt2/java/JavaClassGenerator.cpp
parentc3de83e7e4c8fc9310999537c60b0a7b7f6f7a54 (diff)
Hide IInputMethodManager.{add,remove}Client() from apps
Since IInputMethodManager.{add,remove}Client() are just callbacks from WindowManagerService to InputMethodManagerService, we can simply move those two methods to InputMethodManagerInternal instead of having them in IInputMethodManager.aidl, which ends up exposing those methods to any random user process. This enables us to clean up WindowManagerService because it is no longer responsible for obtaining IInputMethodManager and passing it to each Session instance. This also allows us to get rid of several RemoteException handlers from Session class, because now the complier knows that those callbacks will never throw RemoteException. Fix: 112670859 Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases Test: prebuilts/checkstyle/checkstyle.py -f frameworks/base/services/core/java/com/android/server/inputmethod/InputMethodManagerInternal.java Change-Id: I453200fd5847e9a78876affb6a1caec221525e1d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions