Android 33 -> Android 13

Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
Stypox 2023-12-30 21:55:32 +01:00 committed by GitHub
parent f26e8444ef
commit 34241c30e3

View file

@ -89,7 +89,7 @@ class NotificationSlot {
void setupCheckbox(final View view, final boolean isCompactSlotChecked) {
final CheckBox compactSlotCheckBox = view.findViewById(R.id.notificationActionCheckBox);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
// there are no compact slots to customize on Android 33+
// there are no compact slots to customize on Android 13+
compactSlotCheckBox.setVisibility(View.GONE);
view.findViewById(R.id.notificationActionCheckBoxClickableArea)
.setVisibility(View.GONE);