Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 626c33cf authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

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
      662b48b7
 [2]: I8666ac1399058b980e51e2459122b2f5f36c77b5
      b1fb07a8

Bug: 192412909
Test: presubmit
Change-Id: Id5d5a4abeff8291b40baf95d425f4035d3cddffe
parent 407b327f
Loading
Loading
Loading
Loading
+0 −54
Original line number Diff line number Diff line
@@ -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>}.
     */