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

Commit d366cb13 authored by Adrian Roos's avatar Adrian Roos
Browse files

Fix accessibility ghosts in quick settings detail

Fixes a bug where the tile that was just clicked on
to go to the detail view would become visible and cause
confusion to accessibility services.

Bug: 20209718
Change-Id: I1678a4fc35e8d739b7c657e868b02a25eddcba1d
parent 2d4dc8db
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -242,6 +242,9 @@ public class QSPanel extends ViewGroup {
    }

    private void handleSetTileVisibility(View v, int visibility) {
        if (visibility == VISIBLE && !mGridContentVisible) {
            visibility = INVISIBLE;
        }
        if (visibility == v.getVisibility()) return;
        v.setVisibility(visibility);
    }