Automatically enable BT when entering BT QS panel
Bug: 18334326 Change-Id: Ifbcdee1a8260ce959eae53c0900851f8da2f97ee
This commit is contained in:
@@ -77,6 +77,10 @@ public class BluetoothTile extends QSTile<QSTile.BooleanState> {
|
||||
|
||||
@Override
|
||||
protected void handleSecondaryClick() {
|
||||
if (!mState.value) {
|
||||
mState.value = true;
|
||||
mController.setBluetoothEnabled(true);
|
||||
}
|
||||
showDetail(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user