Updated on 2026-08-14

This commit is contained in:
Tangem 2018-10-10 21:39:43 +03:00
parent 68917838a4
commit d1dc50123f
6 changed files with 62 additions and 69 deletions

View file

@ -19,7 +19,7 @@ import javax.crypto.Cipher;
public class PINStorage {
private static String mSavedPIN, mUserPIN, mLastUsedPIN, mEncryptedPIN, mPIN2;
private static SharedPreferences sharedPreferences=null;
private static SharedPreferences sharedPreferences = null;
public static void Init(Context context) {
sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
@ -200,6 +200,7 @@ public class PINStorage {
}
public static boolean needInit() {
return sharedPreferences==null;
return sharedPreferences == null;
}
}
}