diff options
| author | 2015-06-15 17:27:01 -0700 | |
|---|---|---|
| committer | 2015-06-15 17:28:37 -0700 | |
| commit | d366cb130dcb01b46c70db7a306d4ba90716bfba (patch) | |
| tree | c8311b7151dd447802b80f3d2fddd7b20b5e8eed | |
| parent | 2d4dc8db64d0f75e530451acb2c0bea97b9264ff (diff) | |
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
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/QSPanel.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java b/packages/SystemUI/src/com/android/systemui/qs/QSPanel.java index c8212c23f6d9..9761cd19e195 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); } |