summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-07-25 11:01:49 +0900
committersatok <satok@google.com>2011-07-25 11:01:49 +0900
commit142d7575b52d03d46246e3b142e22ebc32d45a84 (patch)
tree4d0a50e94662334fbfa8fe385afaf9198f90dcac
parent54e677ffb026eb838237b8a5e6581833f616e32a (diff)
downloadframeworks_base-142d7575b52d03d46246e3b142e22ebc32d45a84.zip
frameworks_base-142d7575b52d03d46246e3b142e22ebc32d45a84.tar.gz
frameworks_base-142d7575b52d03d46246e3b142e22ebc32d45a84.tar.bz2
[step4] Change service interface
Change-Id: Iaf86065a2a7f075c670ebdaa60a33a815dcb8113
-rw-r--r--api/current.txt2
-rw-r--r--core/java/android/service/textservice/SpellCheckerService.java3
2 files changed, 3 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt
index 74d9cc6..e0e7565 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -17951,7 +17951,7 @@ package android.service.textservice {
method public abstract android.view.textservice.SuggestionsInfo getSuggestions(android.view.textservice.TextInfo, int, java.lang.String);
method public android.view.textservice.SuggestionsInfo[] getSuggestionsMultiple(android.view.textservice.TextInfo[], java.lang.String, int, boolean);
method public final android.os.IBinder onBind(android.content.Intent);
- field public static final java.lang.String SERVICE_INTERFACE;
+ field public static final java.lang.String SERVICE_INTERFACE = "android.service.textservice.SpellCheckerService";
}
public class SpellCheckerSession {
diff --git a/core/java/android/service/textservice/SpellCheckerService.java b/core/java/android/service/textservice/SpellCheckerService.java
index 6ac99ca..270f512 100644
--- a/core/java/android/service/textservice/SpellCheckerService.java
+++ b/core/java/android/service/textservice/SpellCheckerService.java
@@ -36,7 +36,8 @@ import java.lang.ref.WeakReference;
*/
public abstract class SpellCheckerService extends Service {
private static final String TAG = SpellCheckerService.class.getSimpleName();
- public static final String SERVICE_INTERFACE = SpellCheckerService.class.getName();
+ public static final String SERVICE_INTERFACE =
+ "android.service.textservice.SpellCheckerService";
private final SpellCheckerServiceBinder mBinder = new SpellCheckerServiceBinder(this);