Loading core/java/android/server/BluetoothAdapterStateMachine.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -349,13 +349,13 @@ final class BluetoothAdapterStateMachine extends StateMachine { boolean retValue = HANDLED; boolean retValue = HANDLED; switch(message.what) { switch(message.what) { case USER_TURN_ON: case USER_TURN_ON: broadcastState(BluetoothAdapter.STATE_TURNING_ON); if ((Boolean) message.obj) { if ((Boolean) message.obj) { persistSwitchSetting(true); persistSwitchSetting(true); } } // let it fall to TURN_ON_CONTINUE: // let it fall to TURN_ON_CONTINUE: //$FALL-THROUGH$ //$FALL-THROUGH$ case TURN_ON_CONTINUE: case TURN_ON_CONTINUE: broadcastState(BluetoothAdapter.STATE_TURNING_ON); mBluetoothService.switchConnectable(true); mBluetoothService.switchConnectable(true); transitionTo(mSwitching); transitionTo(mSwitching); break; break; Loading Loading
core/java/android/server/BluetoothAdapterStateMachine.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -349,13 +349,13 @@ final class BluetoothAdapterStateMachine extends StateMachine { boolean retValue = HANDLED; boolean retValue = HANDLED; switch(message.what) { switch(message.what) { case USER_TURN_ON: case USER_TURN_ON: broadcastState(BluetoothAdapter.STATE_TURNING_ON); if ((Boolean) message.obj) { if ((Boolean) message.obj) { persistSwitchSetting(true); persistSwitchSetting(true); } } // let it fall to TURN_ON_CONTINUE: // let it fall to TURN_ON_CONTINUE: //$FALL-THROUGH$ //$FALL-THROUGH$ case TURN_ON_CONTINUE: case TURN_ON_CONTINUE: broadcastState(BluetoothAdapter.STATE_TURNING_ON); mBluetoothService.switchConnectable(true); mBluetoothService.switchConnectable(true); transitionTo(mSwitching); transitionTo(mSwitching); break; break; Loading