Merge "Fix a remove*Listener call that doesn't remove" into rvc-dev am: a95a24a0a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11837611 Change-Id: I89abda8f1d673334d18e7a022c8db4de89ce09dc
This commit is contained in:
@@ -168,7 +168,7 @@ public class SettingsHelper {
|
|||||||
* Remove a listener for changes to the location enabled setting.
|
* Remove a listener for changes to the location enabled setting.
|
||||||
*/
|
*/
|
||||||
public void removeOnLocationEnabledChangedListener(UserSettingChangedListener listener) {
|
public void removeOnLocationEnabledChangedListener(UserSettingChangedListener listener) {
|
||||||
mLocationMode.addListener(listener);
|
mLocationMode.removeListener(listener);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user