summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/Settings.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-06-22 16:38:13 +0900
committersatok <satok@google.com>2011-07-22 14:52:21 +0900
commit988323c57bd25a58f05dfa492d9b9c8ab62c5153 (patch)
treeee817ff3950a064cd3546294c9428ec41c8e7cee /core/java/android/provider/Settings.java
parentb4cd566767f736e723acb5444cbfb26117a2fbb8 (diff)
downloadframeworks_base-988323c57bd25a58f05dfa492d9b9c8ab62c5153.zip
frameworks_base-988323c57bd25a58f05dfa492d9b9c8ab62c5153.tar.gz
frameworks_base-988323c57bd25a58f05dfa492d9b9c8ab62c5153.tar.bz2
Create TextServiceManager and SpellCheckerService
Bug: 4176026 This CL inherits https://android-git.corp.google.com/g/112600 Spec of TextServiceManager - Chooses the most applicable TextService(e.g. SpellCheckerService, WordBreakIteratorService..) for each locale Spec of SpellCheckerService - Returns whether the given string is a correct word or not - Returns Suggestions for the given string Change-Id: Iaa425c7915fe70767ad0b17bf6c6fbcd2a1200b2
Diffstat (limited to 'core/java/android/provider/Settings.java')
-rw-r--r--core/java/android/provider/Settings.java12
1 files changed, 9 insertions, 3 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index cb87e94..1cd46de 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -16,8 +16,6 @@
package android.provider;
-
-
import android.annotation.SdkConstant;
import android.annotation.SdkConstant.SdkConstantType;
import android.app.SearchManager;
@@ -48,7 +46,6 @@ import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.HashSet;
-
/**
* The Settings provider contains global system-level device preferences.
*/
@@ -3737,6 +3734,15 @@ public final class Settings {
*/
public static final String VOICE_RECOGNITION_SERVICE = "voice_recognition_service";
+
+ /**
+ * The {@link ComponentName} string of the service to be used as the spell checker
+ * service which is one of the services managed by the text service manager.
+ *
+ * @hide
+ */
+ public static final String SPELL_CHECKER_SERVICE = "spell_checker_service";
+
/**
* What happens when the user presses the Power button while in-call
* and the screen is on.<br/>