summaryrefslogtreecommitdiffstats
path: root/core/java/android/content/Context.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/content/Context.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/content/Context.java')
-rw-r--r--core/java/android/content/Context.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index fed6d81..0a2253c 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -1612,6 +1612,15 @@ public abstract class Context {
/**
* Use with {@link #getSystemService} to retrieve a
+ * {@link android.view.textservice.TextServicesManager} for accessing
+ * text services.
+ *
+ * @see #getSystemService
+ */
+ public static final String TEXT_SERVICES_MANAGER_SERVICE = "textservices";
+
+ /**
+ * Use with {@link #getSystemService} to retrieve a
* {@link android.appwidget.AppWidgetManager} for accessing AppWidgets.
*
* @hide