Skip to content

Commit

Permalink
Remove unused preference names
Browse files Browse the repository at this point in the history
  • Loading branch information
mendhak committed Nov 2, 2023
1 parent 73e3d04 commit 3064a2a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -919,20 +919,6 @@ public void setOpenGTSAccountName(String account){
}


/**
* Sets OpenStreetMap OAuth Token for auto send
*/
public void setOSMAccessToken(String token) {
prefs.edit().putString(PreferenceNames.OPENSTREETMAP_ACCESS_TOKEN, token).apply();
}


/**
* Gets access token for OpenStreetMap auto send
*/
public String getOSMAccessToken() {
return prefs.getString(PreferenceNames.OPENSTREETMAP_ACCESS_TOKEN, "");
}

public String getOSMAuthState(){
return prefs.getString(PreferenceNames.OPENSTREETMAP_AUTH_STATE, "");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ public class PreferenceNames {
public static final String HIDE_NOTIFICATION_FROM_LOCK_SCREEN = "hide_notification_from_lock_screen";
public static final String DISPLAY_IMPERIAL = "useImperial";

public static final String OPENSTREETMAP_ACCESS_TOKEN = "osm_accesstoken";
public static final String OPENSTREETMAP_ACCESS_TOKEN_SECRET = "osm_accesstokensecret";
public static final String OPENSTREETMAP_REQUEST_TOKEN = "osm_requesttoken";
public static final String OPENSTREETMAP_REQUEST_TOKEN_SECRET = "osm_requesttokensecret";
public static final String OPENSTREETMAP_AUTH_STATE = "osm_oauthstate";

public static final String OPENSTREETMAP_DESCRIPTION = "osm_description";
Expand Down

0 comments on commit 3064a2a

Please sign in to comment.