Fix a remove*Listener call that doesn't remove
Fix a remove*Listener call that doesn't remove the listener. Test: Build only Change-Id: I67b57e8df8a6d39622999634cefdc267fc07ecae
This commit is contained in:
@@ -171,7 +171,7 @@ public class SettingsHelper {
|
||||
* Remove a listener for changes to the location enabled setting.
|
||||
*/
|
||||
public void removeOnLocationEnabledChangedListener(UserSettingChangedListener listener) {
|
||||
mLocationMode.addListener(listener);
|
||||
mLocationMode.removeListener(listener);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user