mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
recover pn
This commit is contained in:
parent
88ae3a9d93
commit
59ae46b300
@ -71,7 +71,7 @@ public class KeyCachingService extends Service {
|
||||
|
||||
// AC: This is a temporal drop off replacement for the refactoring time being.
|
||||
// This field only indicates if the app was unlocked or not (null means locked).
|
||||
private static Object masterSecret;
|
||||
private static Object masterSecret = new Object();
|
||||
|
||||
/**
|
||||
* A temporal utility method to quickly call {@link KeyCachingService#setMasterSecret(Object)}
|
||||
|
@ -499,7 +499,7 @@ object TextSecurePreferences {
|
||||
|
||||
@JvmStatic
|
||||
fun isPasswordDisabled(context: Context): Boolean {
|
||||
return getBooleanPreference(context, DISABLE_PASSPHRASE_PREF, false)
|
||||
return getBooleanPreference(context, DISABLE_PASSPHRASE_PREF, true)
|
||||
}
|
||||
|
||||
fun setPasswordDisabled(context: Context, disabled: Boolean) {
|
||||
|
Loading…
Reference in New Issue
Block a user