Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fa49551 authored by Neil Fuller's avatar Neil Fuller
Browse files

Fix a remove*Listener call that doesn't remove

Fix a remove*Listener call that doesn't remove the listener.

Bug: 158819132
Test: Build only
Merged-In: I67b57e8df8a6d39622999634cefdc267fc07ecae
Change-Id: I67b57e8df8a6d39622999634cefdc267fc07ecae
(cherry picked from commit 9a44590e)
parent 6dca4667
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,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);
    }

    /**