From d366cb130dcb01b46c70db7a306d4ba90716bfba Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Mon, 15 Jun 2015 17:27:01 -0700 Subject: 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 --- packages/SystemUI/src/com/android/systemui/qs/QSPanel.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages') diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java index c8212c2..9761cd1 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java +++ b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java @@ -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); } -- cgit v1.1