Remove unused methods and classes from Completable class

This is hopefully the last follow up CL to my previous CL [1], which
aimed to logically revert IInputMethodManager from emulated sync IPCs
to truly sync IPCs.

It turns out that my previous clean-up CL [2] forgot to take care of
the following class

  com.android.internal.inputmethod.Completable,

where several unused methods and classes still existed.

Since those methods and classes are not used right now, there should
be no user/developer visible behavior change in this CL.

 [1]: If16ac0de536d9089eb04f6e07b1ee47378124658
      662b48b72d
 [2]: I8666ac1399058b980e51e2459122b2f5f36c77b5
      b1fb07a83b

Bug: 192412909
Test: presubmit
Change-Id: Id5d5a4abeff8291b40baf95d425f4035d3cddffe
This commit is contained in:
Yohei Yukawa
2021-07-22 14:00:54 -07:00
parent 407b327fc7
commit 626c33cfea

View File

@@ -23,12 +23,10 @@ import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.util.Log;
import android.view.inputmethod.InputMethodSubtype;
import com.android.internal.annotations.GuardedBy;
import java.lang.annotation.Retention;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
@@ -415,34 +413,6 @@ public final class Completable {
return new Completable.SurroundingText();
}
/**
* @return an instance of {@link Completable.InputBindResult}.
*/
public static Completable.InputBindResult createInputBindResult() {
return new Completable.InputBindResult();
}
/**
* @return an instance of {@link Completable.InputMethodSubtype}.
*/
public static Completable.InputMethodSubtype createInputMethodSubtype() {
return new Completable.InputMethodSubtype();
}
/**
* @return an instance of {@link Completable.InputMethodSubtypeList}.
*/
public static Completable.InputMethodSubtypeList createInputMethodSubtypeList() {
return new Completable.InputMethodSubtypeList();
}
/**
* @return an instance of {@link Completable.InputMethodInfoList}.
*/
public static Completable.InputMethodInfoList createInputMethodInfoList() {
return new Completable.InputMethodInfoList();
}
/**
* @return an instance of {@link Completable.IInputContentUriToken}.
*/
@@ -479,30 +449,6 @@ public final class Completable {
public static final class SurroundingText
extends Values<android.view.inputmethod.SurroundingText> { }
/**
* Completable object of {@link com.android.internal.view.InputBindResult}.
*/
public static final class InputBindResult
extends Values<com.android.internal.view.InputBindResult> { }
/**
* Completable object of {@link android.view.inputmethod.InputMethodSubtype}.
*/
public static final class InputMethodSubtype
extends Values<android.view.inputmethod.InputMethodSubtype> { }
/**
* Completable object of {@link List<android.view.inputmethod.InputMethodSubtype>}.
*/
public static final class InputMethodSubtypeList
extends Values<List<android.view.inputmethod.InputMethodSubtype>> { }
/**
* Completable object of {@link List<android.view.inputmethod.InputMethodInfo>}.
*/
public static final class InputMethodInfoList
extends Values<List<android.view.inputmethod.InputMethodInfo>> { }
/**
* Completable object of {@link IInputContentUriToken>}.
*/