diff options
-rw-r--r-- | api/current.txt | 2 | ||||
-rw-r--r-- | location/java/android/location/SettingInjectorService.java | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/api/current.txt b/api/current.txt index f7c0b97..e48e5d5 100644 --- a/api/current.txt +++ b/api/current.txt @@ -14015,7 +14015,7 @@ package android.location { ctor public SettingInjectorService(java.lang.String); method public final android.os.IBinder onBind(android.content.Intent); method protected abstract boolean onGetEnabled(); - method protected deprecated java.lang.String onGetSummary(); + method protected abstract deprecated java.lang.String onGetSummary(); method public final void onStart(android.content.Intent, int); method public final int onStartCommand(android.content.Intent, int, int); field public static final java.lang.String ACTION_INJECTED_SETTING_CHANGED = "android.location.InjectedSettingChanged"; diff --git a/location/java/android/location/SettingInjectorService.java b/location/java/android/location/SettingInjectorService.java index 98c7864..fcd2cde 100644 --- a/location/java/android/location/SettingInjectorService.java +++ b/location/java/android/location/SettingInjectorService.java @@ -196,10 +196,7 @@ public abstract class SettingInjectorService extends Service { * @deprecated not called any more */ @Deprecated - protected String onGetSummary() { - // Do not delete until no callers have @Override annotations for this method - return null; - } + protected abstract String onGetSummary(); /** * Returns the {@link android.preference.Preference#isEnabled()} value. Should not perform |