diff options
author | Adrian Roos <roosa@google.com> | 2015-06-15 17:27:01 -0700 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2015-06-15 17:28:37 -0700 |
commit | d366cb130dcb01b46c70db7a306d4ba90716bfba (patch) | |
tree | c8311b7151dd447802b80f3d2fddd7b20b5e8eed /packages | |
parent | 2d4dc8db64d0f75e530451acb2c0bea97b9264ff (diff) | |
download | frameworks_base-d366cb130dcb01b46c70db7a306d4ba90716bfba.zip frameworks_base-d366cb130dcb01b46c70db7a306d4ba90716bfba.tar.gz frameworks_base-d366cb130dcb01b46c70db7a306d4ba90716bfba.tar.bz2 |
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
Diffstat (limited to 'packages')
-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 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); } |