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

Commit a4c5c54a authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by Android (Google) Code Review
Browse files

Merge "Remove unused method."

parents 781e3df7 c17311ce
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -261,11 +261,6 @@ public class ContactsBinaryDictionary extends ExpandableBinaryDictionary {
        return end;
    }

    @Override
    protected boolean needsToReloadAfterCreation() {
        return true;
    }

    @Override
    protected boolean haveContentsChanged() {
        final long startTime = SystemClock.uptimeMillis();
+0 −6
Original line number Diff line number Diff line
@@ -488,12 +488,6 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
        }
    }

    /**
     * Abstract method for checking if it is required to reload the dictionary before writing
     * a binary dictionary.
     */
    abstract protected boolean needsToReloadAfterCreation();

    /**
     * Create a new binary dictionary and load initial contents.
     */
+0 −5
Original line number Diff line number Diff line
@@ -269,9 +269,4 @@ public class UserBinaryDictionary extends ExpandableBinaryDictionary {
    protected boolean haveContentsChanged() {
        return true;
    }

    @Override
    protected boolean needsToReloadAfterCreation() {
        return true;
    }
}
+0 −5
Original line number Diff line number Diff line
@@ -91,11 +91,6 @@ public abstract class DecayingExpandableBinaryDictionaryBase extends ExpandableB
        return false;
    }

    @Override
    protected boolean needsToReloadAfterCreation() {
        return false;
    }

    public void addMultipleDictionaryEntriesToDictionary(
            final ArrayList<LanguageModelParam> languageModelParams,
            final ExpandableBinaryDictionary.AddMultipleDictionaryEntriesCallback callback) {