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

Commit f85c8be8 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 7348217 from 9b6909cc to sc-release

Change-Id: I2c0577dcd8c546a2b267c571cf91aec790ef3293
parents aeb9443b 9b6909cc
Loading
Loading
Loading
Loading

rustfmt.toml

deleted120000 → 0
+1 −1
Original line number Diff line number Diff line
../../build/soong/scripts/rustfmt.toml
 No newline at end of file

rustfmt.toml

0 → 100644
+1 −1
Original line number Diff line number Diff line
../../build/soong/scripts/rustfmt.toml
+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ class A2dpTransport
  void StopRequest() override {
    if (btif_av_get_peer_sep() == AVDT_TSEP_SNK &&
        !btif_av_stream_started_ready()) {
      btif_av_clear_remote_suspend_flag();
      return;
    }
    LOG(INFO) << __func__ << ": handling";
+13 −10
Original line number Diff line number Diff line
@@ -3282,16 +3282,19 @@ uint8_t btif_av_get_peer_sep(void) {
}

void btif_av_clear_remote_suspend_flag(void) {
  auto clear_remote_suspend_flag = []() {
    BtifAvPeer* peer = btif_av_find_active_peer();
    if (peer == nullptr) {
      BTIF_TRACE_WARNING("%s: No active peer found", __func__);
      return;
    }

    BTIF_TRACE_DEBUG("%s: Peer %s : flags=%s are cleared", __func__,
                     peer->PeerAddress().ToString().c_str(),
                     peer->FlagsToString().c_str());
    peer->ClearFlags(BtifAvPeer::kFlagRemoteSuspend);
  };
  // switch to main thread to prevent a race condition of accessing peers
  do_in_main_thread(FROM_HERE, base::Bind(clear_remote_suspend_flag));
}

bool btif_av_is_peer_edr(const RawAddress& peer_address) {

rustfmt.toml

120000 → 100644
+1 −1

File changed.File mode changed from 120000 to 100644.

Contains only whitespace changes.