am 2eb4565b: am fc0a0015: Mark UserDictionary and ContactsDictionary as deprecated

* commit '2eb4565ba33d158520eba693abe3bb263853104e':
  Mark UserDictionary and ContactsDictionary as deprecated
This commit is contained in:
Tadashi G. Takaoka 2012-05-21 14:29:49 -07:00 committed by Android Git Automerger
commit 1e18869be6
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