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

Commit 56f7333b authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

Use -Werror in packages/apps/Bluetooth

* Fix one print format warning.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I585f0923a9e6c1af784c4a55bd5195c295038deb
parent f1308e4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ cc_library_shared {
    ],
    cflags: [
        "-Wall",
        "-Werror",
        "-Wextra",
        "-Wno-unused-parameter",
    ],
+2 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
#include "hardware/bt_rc.h"
#include "utils/Log.h"

#include <inttypes.h>
#include <string.h>

namespace android {
@@ -812,7 +813,7 @@ static jboolean registerNotificationRspTrackChangeNative(JNIEnv* env,
    uid = uid + (trk[uid_idx] << (BTRC_UID_SIZE - 1 - uid_idx));
  }

  ALOGV("%s: Sending track change notification: %d -> %llu", __func__, type,
  ALOGV("%s: Sending track change notification: %d -> %" PRIu64, __func__, type,
        uid);

  bt_status_t status = sBluetoothAvrcpInterface->register_notification_rsp(