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

Commit 1aea297c authored by Beverly's avatar Beverly
Browse files

Fix talkback ordering of QS zen duration dialog

Fixes: 154522736
Test: manual
Change-Id: I1ba9da5adeb36ae3a99b044d164288b0f744165d
parent 9b6af1dc
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ import android.util.Log;
import android.util.Slog;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
@@ -395,8 +396,12 @@ public class EnableZenModeDialog {
            button1.setAlpha(button1.isEnabled() ? 1f : .5f);
            button2.setAlpha(button2.isEnabled() ? 1f : .5f);
        } else {
            button1.setVisibility(View.GONE);
            button2.setVisibility(View.GONE);
            if (button1 != null) {
                ((ViewGroup) row).removeView(button1);
            }
            if (button2 != null) {
                ((ViewGroup) row).removeView(button2);
            }
        }
    }