Skip to content
Commit 4afd9335 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Enable @UnbindReason annotation in IMMS

This is a preparation to split
com.android.internal.view.InputMethodClient.

When InputMethodClient.UnbindReason annotation was originally
introduced [1], somehow we could not use that annotation in
InputMethodManagerService (IMMS) probably because of some build system
or compiler limitation since the attribute belongs to frameworks.jar
while IMMS belongs to services.jar.

Now it seems that such a limitation no longer exists, there is no
reason to not enable @UnbindReason annotation in IMMS.

@UnbindReason is @Retention(SOURCE) anyway. Hence there should
be no behavior difference at run time.

 [1]: I74e83c8ca9d1d53e31e9c7b5bda1dec6274e59c8
      33e81798

Bug: 118040692
Test: compile
Change-Id: Ie5af7249da80a2217a4954e898d956ba29fea449
parent dc66e52c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment