summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-09-21 14:52:12 -0700
committerYohei Yukawa <yukawa@google.com>2018-09-21 14:52:12 -0700
commit6c07572f1635e5fca8a47d78785d076695041753 (patch)
tree378c89721511c72498d3ff7847dce831338f6757 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdaf0d1b6fbc8d61dcc3489762748074bada7de5f (diff)
Deprecate InputMethodManager#getInstance()
With this CL, no one in the Framework is using InputMethodManager#getInstance() directly or indirectly. It is time to mark this method deprecated. For applications that still call InputMethodManager#getInstance() directly or indirectly via reflection, they will start seeing warnings with stacktrace in logcat. Except for that explict warnings in logcat, there is no behavior change in this CL. Added a new test to make sure that InputMethodManager#getInstance() and InputMethodManager#peekInstance() are still working in a way we expected for such applications. Fix: 115891476 Test: atest FrameworksCoreTests:android.view.inputmethod.InputMethodManagerTest Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases Change-Id: Ib393086d921f91993395b5f0007b725a5db7bf22
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions