default caching ttl to "until cleared"
This commit is contained in:
1 parent
03ca1292fa
commit
647589c9ae
1 file changed
+1
-1
@@ -97,7 +97,7 @@ public class Preferences {
|
||||
}
|
||||
|
||||
public int getCacheTtlSeconds() {
|
||||
return mSharedPreferences.getInt(Pref.PASSPHRASE_CACHE_LAST_TTL, 0);
|
||||
return mSharedPreferences.getInt(Pref.PASSPHRASE_CACHE_LAST_TTL, Integer.MAX_VALUE);
|
||||
}
|
||||
|
||||
public void setCacheTtlSeconds(int ttlSeconds) {
|
||||
|
||||
Reference in new issue
Block a user