From 142d7575b52d03d46246e3b142e22ebc32d45a84 Mon Sep 17 00:00:00 2001 From: satok Date: Mon, 25 Jul 2011 11:01:49 +0900 Subject: [step4] Change service interface Change-Id: Iaf86065a2a7f075c670ebdaa60a33a815dcb8113 --- api/current.txt | 2 +- core/java/android/service/textservice/SpellCheckerService.java | 3 ++- 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); -- cgit v1.1