Insert session switchover events when appropriate.

This commit is contained in:
Greyson Parrelli
2023-01-24 20:49:59 -05:00
parent 7745ae62ea
commit a7d9bd944b
10 changed files with 331 additions and 76 deletions

View File

@@ -0,0 +1,11 @@
package org.thoughtcrime.securesms.util;
/**
* A class that allows us to inject feature flags during tests.
*/
public final class FeatureFlagsAccessor {
public static void forceValue(String key, Object value) {
FeatureFlags.FORCED_VALUES.put(FeatureFlags.PHONE_NUMBER_PRIVACY, true);
}
}