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

Commit fc0a0015 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Mark UserDictionary and ContactsDictionary as deprecated

Bug: 6473962
Change-Id: I14477f99f67aedf756d9387ec1d50ef57a1c079e
parent 65331d6e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -28,6 +28,12 @@ import android.util.Log;

import com.android.inputmethod.keyboard.Keyboard;

// TODO: This class is superseded by {@link ContactsBinaryDictionary}. Should be cleaned up.
/**
 * An expandable dictionary that stores the words from Contacts provider.
 *
 * @deprecated Use {@link ContactsBinaryDictionary}.
 */
public class ContactsDictionary extends ExpandableDictionary {

    private static final String[] PROJECTION = {
+4 −2
Original line number Diff line number Diff line
@@ -29,9 +29,11 @@ import com.android.inputmethod.keyboard.ProximityInfo;

import java.util.Arrays;

// TODO: This class is superseded by {@link UserBinaryDictionary}. Should be cleaned up.
/**
 * An expandable dictionary that stores the words in the user unigram dictionary.
 * To be deprecated: functionality being transferred to UserBinaryDictionary.
 *
 * @deprecated Use {@link UserBinaryDictionary}.
 */
public class UserDictionary extends ExpandableDictionary {