Add Group Call speaker view hint.

This commit is contained in:
Cody Henthorne
2020-12-07 10:46:36 -05:00
committed by GitHub
parent 9b81e7f71b
commit 595d5dddbe
8 changed files with 91 additions and 1 deletions

View File

@@ -4,7 +4,8 @@ import androidx.annotation.NonNull;
public class TooltipValues extends SignalStoreValues {
private static final String BLUR_HUD_ICON = "tooltip.blur_hud_icon";
private static final String BLUR_HUD_ICON = "tooltip.blur_hud_icon";
private static final String GROUP_CALL_SPEAKER_VIEW = "tooltip.group_call_speaker_view";
TooltipValues(@NonNull KeyValueStore store) {
super(store);
@@ -21,4 +22,12 @@ public class TooltipValues extends SignalStoreValues {
public void markBlurHudIconTooltipSeen() {
putBoolean(BLUR_HUD_ICON, true);
}
public boolean hasSeenGroupCallSpeakerView() {
return getBoolean(GROUP_CALL_SPEAKER_VIEW, false);
}
public void markGroupCallSpeakerViewSeen() {
putBoolean(GROUP_CALL_SPEAKER_VIEW, true);
}
}