mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Regularly run account consistency checks.
This commit is contained in:
committed by
Nicholas
parent
242900e87f
commit
25779d04a6
@@ -38,6 +38,7 @@ public final class MiscellaneousValues extends SignalStoreValues {
|
||||
private static final String USERNAME_QR_CODE_COLOR = "mis.username_qr_color_scheme";
|
||||
private static final String KEYBOARD_LANDSCAPE_HEIGHT = "misc.keyboard.landscape_height";
|
||||
private static final String KEYBOARD_PORTRAIT_HEIGHT = "misc.keyboard.protrait_height";
|
||||
private static final String LAST_CONSISTENCY_CHECK_TIME = "misc.last_consistency_check_time";
|
||||
|
||||
MiscellaneousValues(@NonNull KeyValueStore store) {
|
||||
super(store);
|
||||
@@ -317,4 +318,12 @@ public final class MiscellaneousValues extends SignalStoreValues {
|
||||
public void setKeyboardPortraitHeight(int height) {
|
||||
putInteger(KEYBOARD_PORTRAIT_HEIGHT, height);
|
||||
}
|
||||
|
||||
public long getLastConsistencyCheckTime() {
|
||||
return getLong(LAST_CONSISTENCY_CHECK_TIME, 0);
|
||||
}
|
||||
|
||||
public void setLastConsistencyCheckTime(long time) {
|
||||
putLong(LAST_CONSISTENCY_CHECK_TIME, time);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user