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

Commit 98cb24b3 authored by Scott Warner's avatar Scott Warner
Browse files

Update the GPS tile in the constructor

Change-Id: I985ba2ab769e67c0d43fc67922fe1174bba195f4
parent 4d25afe5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -44,6 +44,10 @@ public class GPSTile extends QuickSettingsTile implements LocationSettingsChange
                return true;
            }
        };

        mCurrentMode = Settings.Secure.getInt(mContext.getContentResolver(),
                Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
        updateTile();
    }

    private void changeLocationMode(){