Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/com/backendless/AndroidBackendlessPrefs.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public AndroidBackendlessPrefs()
super();
}

public void initPreferences( String applicationId, String secretKey, String version )
public void initPreferences( String applicationId, String secretKey )
{
super.initPreferences( applicationId, secretKey );
saveAuthKeysToPreferences( authKeys );
Expand Down Expand Up @@ -97,9 +97,8 @@ private boolean restoreAuthKeysFromPreferences()
{
String applicationId = sharedPreferences.getString( Type.APPLICATION_ID.name64(), null );
String secretKey = sharedPreferences.getString( Type.SECRET_KEY.name64(), null );
String version = sharedPreferences.getString( Type.VERSION.name64(), null );

if( applicationId != null && secretKey != null && version != null )
if( applicationId != null && secretKey != null )
{
authKeys = new AuthKeys( applicationId, secretKey );
return true;
Expand Down Expand Up @@ -145,7 +144,6 @@ enum Type
{
APPLICATION_ID,
SECRET_KEY,
VERSION,
HEADERS;

String name64()
Expand Down