Use correct @*Res annotation for updateStatusIcon()
There was a small mistake in my previous CL [1]. What updateStatusIcon() takes is a resource ID for Drawable, not ID for an integer value. These @*Res annotations are still just hints for IDE and lint tools. They are actually all @Retention(SOURCE) hence this kind of mistake has no impact at run time actually. This CL also adds the right annotation for corresponding methods in InputMethodManager and InputMethodManagerService. [1]: I995c4b922f91b94438c1292392b2c3030598594f c7ca3684 Bug: 114418674 Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases Change-Id: Id7fd610c07643c79b8ec03efbda24b3dc0686844
Loading
Please register or sign in to comment