diff options
author | Tom O'Neill <tomo@google.com> | 2013-09-05 09:45:03 -0700 |
---|---|---|
committer | Tom O'Neill <tomo@google.com> | 2013-09-05 09:45:03 -0700 |
commit | cef05c28eb452810e4b79895970457ff2bdef5b4 (patch) | |
tree | 42b1171cac99d57c5c2cd146cd175dd5e602178b /api/current.txt | |
parent | 9e8bdc39bcdfc22d05edd5f4a0ca69cdffec4f34 (diff) | |
download | frameworks_base-cef05c28eb452810e4b79895970457ff2bdef5b4.zip frameworks_base-cef05c28eb452810e4b79895970457ff2bdef5b4.tar.gz frameworks_base-cef05c28eb452810e4b79895970457ff2bdef5b4.tar.bz2 |
Incorporate new API council comments
- Split getStatus() into onGetSummary() and onGetEnabled()
- Call them on app's UI thread
- Allow runtime exceptions to propagate up
- Make a couple of more methods final to prevent subclasses from playing
around with the intent
- Remove explicit timing requirement from javadoc
- Mention that this will be restricted to system-image apps (will be
enforced by the actual settings code)
- b/10461474
Change-Id: Id22dd7a707c05de396ae4c5810e839ca734714c0
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/api/current.txt b/api/current.txt index be870e7..d17c884 100644 --- a/api/current.txt +++ b/api/current.txt @@ -11895,20 +11895,19 @@ package android.location { field public static final int TEMPORARILY_UNAVAILABLE = 1; // 0x1 } - public abstract class SettingInjectorService extends android.app.IntentService { + public abstract class SettingInjectorService extends android.app.Service { ctor public SettingInjectorService(java.lang.String); - method protected abstract android.location.SettingInjectorService.Status getStatus(); - method protected final void onHandleIntent(android.content.Intent); + method public final android.os.IBinder onBind(android.content.Intent); + method protected abstract boolean onGetEnabled(); + method protected abstract 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"; field public static final java.lang.String ACTION_SERVICE_INTENT = "android.location.SettingInjectorService"; field public static final java.lang.String ATTRIBUTES_NAME = "injected-location-setting"; field public static final java.lang.String META_DATA_NAME = "android.location.SettingInjectorService"; } - public static final class SettingInjectorService.Status { - ctor public SettingInjectorService.Status(java.lang.String, boolean); - } - } package android.media { |