Notification grouping requires Android 7.0

This commit is contained in:
M66B
2024-08-14 19:10:10 +02:00
parent f3cba25195
commit 3c7167cf72

View File

@@ -558,6 +558,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
}
});
swNotifyGrouping.setVisibility(Build.VERSION.SDK_INT >= Build.VERSION_CODES.N ? View.VISIBLE : View.GONE);
swNotifyGrouping.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {