summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-07-27 19:27:29 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-27 19:27:29 +0000
commit661794307a792690d7608dc81b4e1299937a8f67 (patch)
treed9f008b4adf999d1ecb98d6d43ab9efd88f250c9 /packages/SystemUI/src/com/android/systemui/statusbar
parent8a54da92ce3da393396bbf0ff86d9525089dcdbf (diff)
parentfc2506255f4cec5c42dc6cd0198147fd5ed349ca (diff)
downloadframeworks_base-661794307a792690d7608dc81b4e1299937a8f67.zip
frameworks_base-661794307a792690d7608dc81b4e1299937a8f67.tar.gz
frameworks_base-661794307a792690d7608dc81b4e1299937a8f67.tar.bz2
Merge "Fix QS switch accessibility problem" into mnc-dev
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
index 5d58cd0..7ee47df 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
@@ -789,7 +789,9 @@ public class StatusBarHeaderView extends RelativeLayout implements View.OnClickL
mQsDetailHeader.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
- detail.setToggleState(!mQsDetailHeaderSwitch.isChecked());
+ boolean checked = !mQsDetailHeaderSwitch.isChecked();
+ mQsDetailHeaderSwitch.setChecked(checked);
+ detail.setToggleState(checked);
}
});
}