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

Commit e5b4b093 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "A2DP: Clear local pending flags while AV is stable"

parents 1ba001f0 a33b07b9
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -2109,10 +2109,8 @@ bool BtifAvStateMachine::StateStarted::ProcessEvent(uint32_t event,
        state = BTAV_AUDIO_STATE_STOPPED;
        state = BTAV_AUDIO_STATE_STOPPED;
      }
      }


      // Suspend completed, clear pending status
      peer_.ClearFlags(BtifAvPeer::kFlagLocalSuspendPending);

      btif_report_audio_state(peer_.PeerAddress(), state);
      btif_report_audio_state(peer_.PeerAddress(), state);
      // Suspend completed, clear local pending flags while entering Opened
      peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateOpened);
      peer_.StateMachine().TransitionTo(BtifAvStateMachine::kStateOpened);
    } break;
    } break;