From 89e2d9363459b97f267f49f3438fed6f2c3ad6f1 Mon Sep 17 00:00:00 2001 From: Tom Ouyang Date: Fri, 13 Mar 2015 14:30:18 -0700 Subject: [PATCH] Deprecate SuggestedWords.mSourceDict Change-Id: I29d9bec427660a7a501054fe9b1ea71be2d5ee3f --- java/src/com/android/inputmethod/latin/SuggestedWords.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index 3816c0870..87fe29159 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -270,6 +270,7 @@ public class SuggestedWords { public final int mScore; public final int mKindAndFlags; public final int mCodePointCount; + @Deprecated public final Dictionary mSourceDict; // For auto-commit. This keeps track of the index inside the touch coordinates array // passed to native code to get suggestions for a gesture that corresponds to the first @@ -360,6 +361,7 @@ public class SuggestedWords { return mWord; } + @Deprecated public Dictionary getSourceDictionary() { return mSourceDict; }