From 9c327699b8a608e35f4079dec06ad1345617c9f6 Mon Sep 17 00:00:00 2001 From: Charles Chen Date: Fri, 14 Jan 2022 18:51:57 +0800 Subject: [PATCH] Remove redundant API Now InputMethodService has been migrated to WindowProviderService. We don't need to override isUiContext anymore. Bug: 193247900 Test: presubmit Change-Id: I1cb0f04aca02d0d2c623995666ce5315125a0b4a --- core/api/current.txt | 1 - .../inputmethodservice/AbstractInputMethodService.java | 7 ------- 2 files changed, 8 deletions(-) diff --git a/core/api/current.txt b/core/api/current.txt index 5984cdd37239d..336e9d3ef136b 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -19696,7 +19696,6 @@ package android.inputmethodservice { public abstract class AbstractInputMethodService extends android.app.Service implements android.view.KeyEvent.Callback { ctor public AbstractInputMethodService(); method public android.view.KeyEvent.DispatcherState getKeyDispatcherState(); - method public final boolean isUiContext(); method public final android.os.IBinder onBind(android.content.Intent); method public abstract android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodImpl onCreateInputMethodInterface(); method public abstract android.inputmethodservice.AbstractInputMethodService.AbstractInputMethodSessionImpl onCreateInputMethodSessionInterface(); diff --git a/core/java/android/inputmethodservice/AbstractInputMethodService.java b/core/java/android/inputmethodservice/AbstractInputMethodService.java index 75beacfb12f32..f16e2439f3f49 100644 --- a/core/java/android/inputmethodservice/AbstractInputMethodService.java +++ b/core/java/android/inputmethodservice/AbstractInputMethodService.java @@ -300,13 +300,6 @@ public abstract class AbstractInputMethodService extends WindowProviderService return false; } - // TODO(b/149463653): remove it in T. We missed the API deadline in S. - /** @hide */ - @Override - public final boolean isUiContext() { - return true; - } - /** @hide */ @Override public final int getWindowType() {