mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-19 08:09:12 +01:00
Fix call log multiselect deletions.
This commit is contained in:
@@ -111,6 +111,7 @@ public final class FeatureFlags {
|
||||
private static final String AD_HOC_CALLING = "android.calling.ad.hoc";
|
||||
private static final String EDIT_MESSAGE_RECEIVE = "android.editMessage.receive";
|
||||
private static final String EDIT_MESSAGE_SEND = "android.editMessage.send";
|
||||
private static final String CALL_DELETE_SYNC = "android.calling.deleteSync";
|
||||
|
||||
/**
|
||||
* We will only store remote values for flags in this set. If you want a flag to be controllable
|
||||
@@ -177,7 +178,8 @@ public final class FeatureFlags {
|
||||
@VisibleForTesting
|
||||
static final Set<String> NOT_REMOTE_CAPABLE = SetUtil.newHashSet(
|
||||
PHONE_NUMBER_PRIVACY,
|
||||
AD_HOC_CALLING
|
||||
AD_HOC_CALLING,
|
||||
CALL_DELETE_SYNC
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -626,6 +628,13 @@ public final class FeatureFlags {
|
||||
return getBoolean(AD_HOC_CALLING, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether sending deletion sync events is supported
|
||||
*/
|
||||
public static boolean callDeleteSync() {
|
||||
return getBoolean(CALL_DELETE_SYNC, false);
|
||||
}
|
||||
|
||||
/** Only for rendering debug info. */
|
||||
public static synchronized @NonNull Map<String, Object> getMemoryValues() {
|
||||
return new TreeMap<>(REMOTE_VALUES);
|
||||
|
||||
Reference in New Issue
Block a user