am fc0a0015: Mark UserDictionary and ContactsDictionary as deprecated

* commit 'fc0a0015f8859dc6c218af69f154687fab031fe9':
  Mark UserDictionary and ContactsDictionary as deprecated
main
Tadashi G. Takaoka 2012-05-21 01:09:44 -07:00 committed by Android Git Automerger
commit 2eb4565ba3
2 changed files with 10 additions and 2 deletions

View File

@ -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 = {

View File

@ -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