Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -24494,6 +24494,7 @@ package android.view.textservice { method public android.content.ComponentName getComponent(); method public java.lang.String getId(); method public java.lang.String getPackageName(); method public android.content.pm.ServiceInfo getServiceInfo(); method public java.lang.String getSettingsActivity(); method public android.view.textservice.SpellCheckerSubtype getSubtypeAt(int); method public int getSubtypeCount(); core/java/android/view/textservice/SpellCheckerInfo.java +9 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ import android.content.Context; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.content.pm.ServiceInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Resources; import android.content.res.TypedArray; import android.content.res.XmlResourceParser; Loading Loading @@ -71,7 +70,6 @@ public final class SpellCheckerInfo implements Parcelable { final PackageManager pm = context.getPackageManager(); int label = 0; String settingsActivityComponent = null; int isDefaultResId = 0; XmlResourceParser parser = null; try { Loading Loading @@ -221,6 +219,15 @@ public final class SpellCheckerInfo implements Parcelable { return mService.loadIcon(pm); } /** * Return the raw information about the Service implementing this * spell checker. Do not modify the returned object. */ public ServiceInfo getServiceInfo() { return mService.serviceInfo; } /** * Return the class name of an activity that provides a settings UI. * You can launch this activity be starting it with Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -24494,6 +24494,7 @@ package android.view.textservice { method public android.content.ComponentName getComponent(); method public java.lang.String getId(); method public java.lang.String getPackageName(); method public android.content.pm.ServiceInfo getServiceInfo(); method public java.lang.String getSettingsActivity(); method public android.view.textservice.SpellCheckerSubtype getSubtypeAt(int); method public int getSubtypeCount();
core/java/android/view/textservice/SpellCheckerInfo.java +9 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,6 @@ import android.content.Context; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.content.pm.ServiceInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.content.res.Resources; import android.content.res.TypedArray; import android.content.res.XmlResourceParser; Loading Loading @@ -71,7 +70,6 @@ public final class SpellCheckerInfo implements Parcelable { final PackageManager pm = context.getPackageManager(); int label = 0; String settingsActivityComponent = null; int isDefaultResId = 0; XmlResourceParser parser = null; try { Loading Loading @@ -221,6 +219,15 @@ public final class SpellCheckerInfo implements Parcelable { return mService.loadIcon(pm); } /** * Return the raw information about the Service implementing this * spell checker. Do not modify the returned object. */ public ServiceInfo getServiceInfo() { return mService.serviceInfo; } /** * Return the class name of an activity that provides a settings UI. * You can launch this activity be starting it with Loading