diff options
author | Jason Monk <jmonk@google.com> | 2015-07-27 19:27:29 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-27 19:27:29 +0000 |
commit | 661794307a792690d7608dc81b4e1299937a8f67 (patch) | |
tree | d9f008b4adf999d1ecb98d6d43ab9efd88f250c9 /packages/SystemUI/src/com/android/systemui/statusbar | |
parent | 8a54da92ce3da393396bbf0ff86d9525089dcdbf (diff) | |
parent | fc2506255f4cec5c42dc6cd0198147fd5ed349ca (diff) | |
download | frameworks_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.java | 4 |
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); } }); } |