diff options
author | Tom O'Neill <tomo@google.com> | 2013-08-21 14:53:18 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-08-21 14:53:19 +0000 |
commit | 9facc23cd8341d579c44af51a2be87effee8618e (patch) | |
tree | 6bc73095ca5a9e353cdbdb8db84a0c996c2554e6 /src/com | |
parent | bffd631a2ab08c4313ae6405b9a8803bc98b629b (diff) | |
parent | 4a70f652ad69dee370e81afee93ee6a2d8c9becc (diff) | |
download | packages_apps_Settings-9facc23cd8341d579c44af51a2be87effee8618e.zip packages_apps_Settings-9facc23cd8341d579c44af51a2be87effee8618e.tar.gz packages_apps_Settings-9facc23cd8341d579c44af51a2be87effee8618e.tar.bz2 |
Merge "Move UPDATE_INTENT to SettingsInjectorService" into klp-dev
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/settings/location/SettingsInjector.java | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/com/android/settings/location/SettingsInjector.java b/src/com/android/settings/location/SettingsInjector.java index 258f3fd..ea760f5 100644 --- a/src/com/android/settings/location/SettingsInjector.java +++ b/src/com/android/settings/location/SettingsInjector.java @@ -56,6 +56,9 @@ import java.util.List; * Code-sharing would require extracting {@link * android.content.pm.RegisteredServicesCache#parseServiceAttributes(android.content.res.Resources, * String, android.util.AttributeSet)} into an interface, which didn't seem worth it. + * + * TODO: register a broadcast receiver that calls updateUI() when it receives + * {@link SettingInjectorService#UPDATE_INTENT}. */ class SettingsInjector { @@ -78,15 +81,6 @@ class SettingsInjector { public static final String ATTRIBUTES_NAME = "injected-location-setting"; /** - * Intent action a client should broadcast when the value of one of its injected settings has - * changed, so that the setting can be updated in the UI. - * - * TODO: register a broadcast receiver that calls updateUI() when it receives this intent - */ - public static final String UPDATE_INTENT = - "com.android.settings.InjectedLocationSettingChanged"; - - /** * Returns a list with one {@link InjectedSetting} object for each {@link android.app.Service} * that responds to {@link #RECEIVER_INTENT} and provides the expected setting metadata. * @@ -198,9 +192,6 @@ class SettingsInjector { /** * Add settings that other apps have injected. - * - * TODO: extract InjectedLocationSettingGetter that returns an iterable over - * InjectedSetting objects, so that this class can focus on UI */ public static void addInjectedSettings(PreferenceGroup group, Context context, PreferenceManager preferenceManager) { |