recover pn

pull/420/head
Ryan ZHAO 3 years ago
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…
Cancel
Save