Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 152c0bb3 authored by Beverly's avatar Beverly
Browse files

Announce changes to zen duration change

Test: manual
Fixes: 145259704
Change-Id: Idb915657af562dcdb9f8d7396cf3c3f8ba62c10c
parent 0f2b7fd2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -328,7 +328,6 @@ public class EnableZenModeDialog {
            boolean enabled, int rowId, Uri conditionId) {
        if (tag.lines == null) {
            tag.lines = row.findViewById(android.R.id.content);
            tag.lines.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
        }
        if (tag.line1 == null) {
            tag.line1 = (TextView) row.findViewById(android.R.id.text1);
@@ -364,6 +363,7 @@ public class EnableZenModeDialog {
            @Override
            public void onClick(View v) {
                onClickTimeButton(row, tag, false /*down*/, rowId);
                tag.lines.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
            }
        });

@@ -373,6 +373,7 @@ public class EnableZenModeDialog {
            @Override
            public void onClick(View v) {
                onClickTimeButton(row, tag, true /*up*/, rowId);
                tag.lines.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
            }
        });

+2 −0
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ public class ZenDurationDialog {
            @Override
            public void onClick(View v) {
                onClickTimeButton(row, tag, false /*down*/, rowIndex);
                tag.lines.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
            }
        });

@@ -243,6 +244,7 @@ public class ZenDurationDialog {
            @Override
            public void onClick(View v) {
                onClickTimeButton(row, tag, true /*up*/, rowIndex);
                tag.lines.setAccessibilityLiveRegion(View.ACCESSIBILITY_LIVE_REGION_POLITE);
            }
        });