[step4] Change service interface

Change-Id: Iaf86065a2a7f075c670ebdaa60a33a815dcb8113
This commit is contained in:
satok
2011-07-25 11:01:49 +09:00
parent 54e677ffb0
commit 142d7575b5
2 changed files with 3 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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);