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

Commit 71f644f3 authored by wanggang14's avatar wanggang14 Committed by wanggang14
Browse files

Modify incorrect output format in log



The variable "flags" should be printed using %#x

Signed-off-by: default avatarwanggang14 <wanggang14@xiaomi.corp-partner.google.com>
Change-Id: I0d97a7136232d5fa827c45c7d62fbbc37d44ba7b
parent 7df4f8c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -403,7 +403,7 @@ status_t AudioTrack::set(

    // Note mPortId is not valid until the track is created, so omit mPortId in ALOG for set.
    ALOGV("%s(): streamType %d, sampleRate %u, format %#x, channelMask %#x, frameCount %zu, "
          "flags #%x, notificationFrames %d, sessionId %d, transferType %d, uid %d, pid %d",
          "flags %#x, notificationFrames %d, sessionId %d, transferType %d, uid %d, pid %d",
          __func__,
          streamType, sampleRate, format, channelMask, frameCount, flags, notificationFrames,
          sessionId, transferType, attributionSource.uid, attributionSource.pid);