Notification grouping requires Android 7.0

pull/215/head
M66B 3 months ago
parent f3cba25195
commit 3c7167cf72

@ -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() { swNotifyGrouping.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override @Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {

Loading…
Cancel
Save