File tree Expand file tree Collapse file tree
src/main/java/org/privacymatters/safespace/lib/utils
fastlane/metadata/android/en-US/changelogs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ android {
1616
1717 minSdk 29
1818 targetSdk 34
19- versionCode 18
20- versionName " 1.4.4 "
19+ versionCode 19
20+ versionName " 1.4.5 "
2121
2222 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
2323 }
Original file line number Diff line number Diff line change 1111 "type" : " SINGLE" ,
1212 "filters" : [],
1313 "attributes" : [],
14- "versionCode" : 18 ,
15- "versionName" : " 1.4.4 " ,
14+ "versionCode" : 19 ,
15+ "versionName" : " 1.4.5 " ,
1616 "outputFile" : " app-release.apk"
1717 }
1818 ],
Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ class EncPref {
2121 EncryptedSharedPreferences .PrefValueEncryptionScheme .AES256_GCM
2222 )
2323 }
24+
25+ // migrate to new pin
26+ val oldPin = encPref!! .getInt(Constants .HARD_PIN , - 1 )
27+
28+ if (oldPin != - 1 ) {
29+ encPref!! .edit().putString(Constants .HARD_PIN , oldPin.toString()).apply ()
30+ }
31+
32+
2433 }
2534
2635 fun getBoolean (pref : String , applicationContext : Context ): Boolean {
Original file line number Diff line number Diff line change 11* Fixed file sorting where file names were numerical
2- * Fixed PIN issues where PIN starts with 0
2+ * Fixed PIN issues where PIN starts with 0
You can’t perform that action at this time.
0 commit comments