Mark UserDictionary and ContactsDictionary as deprecated
Bug: 6473962 Change-Id: I14477f99f67aedf756d9387ec1d50ef57a1c079e
This commit is contained in:
parent
65331d6ea7
commit
fc0a0015f8
2 changed files with 10 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
|
@ -29,10 +29,12 @@ 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 {
|
||||
|
||||
// TODO: use Words.SHORTCUT when it's public in the SDK
|
||||
|
|
Loading…
Reference in a new issue