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

Commit d9550a75 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove unused InputMethodInfo#isEncryptionAware().

This logically reverts a previous CL [1], which added
InputMethodInfo#isEncryptionAware() for File-Based Encryption (FBE)
support, since it turns out that the method in question is unnecessary
to make InputMethodManagerService encryption-aware.

  [1]: Icf921fe3661eccf4a589b08b616d05decc561356
       69811a98

Bug: 26279466
Change-Id: Ia4884bf5922ad453d4b9e5e3c6f0d17b36dc205d
parent 46151a47
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -428,18 +428,6 @@ public final class InputMethodInfo implements Parcelable {
        }
    }

    /**
     * @return {@code true} if the {@link android.inputmethodservice.InputMethodService} is marked
     * to be Encryption-Aware.
     * @hide
     */
    public boolean isEncryptionAware() {
        if (mService == null || mService.serviceInfo == null) {
            return false;
        }
        return mService.serviceInfo.encryptionAware;
    }

    public void dump(Printer pw, String prefix) {
        pw.println(prefix + "mId=" + mId
                + " mSettingsActivityName=" + mSettingsActivityName