am fc0a0015: Mark UserDictionary and ContactsDictionary as deprecated
* commit 'fc0a0015f8859dc6c218af69f154687fab031fe9': Mark UserDictionary and ContactsDictionary as deprecatedmain
commit
2eb4565ba3
|
@ -28,6 +28,12 @@ import android.util.Log;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.Keyboard;
|
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 {
|
public class ContactsDictionary extends ExpandableDictionary {
|
||||||
|
|
||||||
private static final String[] PROJECTION = {
|
private static final String[] PROJECTION = {
|
||||||
|
|
|
@ -29,10 +29,12 @@ import com.android.inputmethod.keyboard.ProximityInfo;
|
||||||
|
|
||||||
import java.util.Arrays;
|
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.
|
* 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 {
|
public class UserDictionary extends ExpandableDictionary {
|
||||||
|
|
||||||
// TODO: use Words.SHORTCUT when it's public in the SDK
|
// TODO: use Words.SHORTCUT when it's public in the SDK
|
||||||
|
|
Loading…
Reference in New Issue