Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3065bd46 authored by Matthew Xie's avatar Matthew Xie Committed by Android Git Automerger
Browse files

am c548bc56: Notify adapter state change from off to on when disable fails

* commit 'c548bc56':
  Notify adapter state change from off to on when disable fails
parents 32007d95 c548bc56
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -345,6 +345,7 @@ final class AdapterState extends StateMachine {
                    errorLog("Error disabling Bluetooth");
                    mPendingCommandState.setTurningOff(false);
                    transitionTo(mOnState);
                    notifyAdapterStateChange(BluetoothAdapter.STATE_ON);
                    break;
                default:
                    if (DBG) Log.d(TAG,"ERROR: UNEXPECTED MESSAGE: CURRENT_STATE=PENDING, MESSAGE = " + msg.what );