am 56dd1f1e: Merge "Automatically enable BT when entering BT QS panel" into lmp-mr1-dev

* commit '56dd1f1eb6fdca10ea2f33d8420e6051e14ed435':
  Automatically enable BT when entering BT QS panel
This commit is contained in:
Jason Monk
2014-11-19 15:03:46 +00:00
committed by Android Git Automerger

View File

@@ -77,6 +77,10 @@ public class BluetoothTile extends QSTile<QSTile.BooleanState> {
@Override @Override
protected void handleSecondaryClick() { protected void handleSecondaryClick() {
if (!mState.value) {
mState.value = true;
mController.setBluetoothEnabled(true);
}
showDetail(true); showDetail(true);
} }