mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 05:43:37 +00:00
[android][sdk] Refactor shared preferences
Signed-off-by: Andrei Shkrob <github@shkrob.dev>
This commit is contained in:
committed by
Konstantin Pastbin
parent
c600a4fd5d
commit
40adb0f860
@@ -347,10 +347,10 @@ public class MwmActivity extends BaseMwmFragmentActivity
|
||||
|
||||
private void migrateOAuthCredentials()
|
||||
{
|
||||
if (OsmOAuth.containsOAuth1Credentials(this))
|
||||
if (OsmOAuth.containsOAuth1Credentials())
|
||||
{
|
||||
// Remove old OAuth v1 secrets
|
||||
OsmOAuth.clearOAuth1Credentials(this);
|
||||
OsmOAuth.clearOAuth1Credentials();
|
||||
|
||||
// Notify user to re-login
|
||||
dismissAlertDialog();
|
||||
|
||||
Reference in New Issue
Block a user