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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user