Defer new message notification when calling

This commit is contained in:
M66B
2022-06-18 16:52:50 +02:00
parent 425a057af6
commit 9710b7cddb
6 changed files with 81 additions and 94 deletions

View File

@@ -468,6 +468,9 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
}
});
swNotifySuppressInCall.setVisibility(
Build.VERSION.SDK_INT < Build.VERSION_CODES.S
? View.GONE : View.VISIBLE);
swNotifySuppressInCall.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {