File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public AndroidBackendlessPrefs()
2222 super ();
2323 }
2424
25- public void initPreferences ( String applicationId , String secretKey , String version )
25+ public void initPreferences ( String applicationId , String secretKey )
2626 {
2727 super .initPreferences ( applicationId , secretKey );
2828 saveAuthKeysToPreferences ( authKeys );
@@ -97,9 +97,8 @@ private boolean restoreAuthKeysFromPreferences()
9797 {
9898 String applicationId = sharedPreferences .getString ( Type .APPLICATION_ID .name64 (), null );
9999 String secretKey = sharedPreferences .getString ( Type .SECRET_KEY .name64 (), null );
100- String version = sharedPreferences .getString ( Type .VERSION .name64 (), null );
101100
102- if ( applicationId != null && secretKey != null && version != null )
101+ if ( applicationId != null && secretKey != null )
103102 {
104103 authKeys = new AuthKeys ( applicationId , secretKey );
105104 return true ;
@@ -145,7 +144,6 @@ enum Type
145144 {
146145 APPLICATION_ID ,
147146 SECRET_KEY ,
148- VERSION ,
149147 HEADERS ;
150148
151149 String name64 ()
You can’t perform that action at this time.
0 commit comments