We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 386f208 + 2d789e5 commit ed0830cCopy full SHA for ed0830c
core/java/android/server/BluetoothAdapterStateMachine.java
@@ -349,13 +349,13 @@ public boolean processMessage(Message message) {
349
boolean retValue = HANDLED;
350
switch(message.what) {
351
case USER_TURN_ON:
352
+ broadcastState(BluetoothAdapter.STATE_TURNING_ON);
353
if ((Boolean) message.obj) {
354
persistSwitchSetting(true);
355
}
356
// let it fall to TURN_ON_CONTINUE:
357
//$FALL-THROUGH$
358
case TURN_ON_CONTINUE:
- broadcastState(BluetoothAdapter.STATE_TURNING_ON);
359
mBluetoothService.switchConnectable(true);
360
transitionTo(mSwitching);
361
break;
0 commit comments