Commit bab12af5 by ibaker Committed by Oliver Woodman

Tweak Id3Decoder error message to print hex instead of int

Before: "Unexpected first three bytes of ID3 tag header: 6845556"
After: "Unexpected first three bytes of ID3 tag header: 0x687474"
PiperOrigin-RevId: 271949486
parent 36d3fef2
...@@ -163,7 +163,7 @@ public final class Id3Decoder implements MetadataDecoder { ...@@ -163,7 +163,7 @@ public final class Id3Decoder implements MetadataDecoder {
int id = data.readUnsignedInt24(); int id = data.readUnsignedInt24();
if (id != ID3_TAG) { if (id != ID3_TAG) {
Log.w(TAG, "Unexpected first three bytes of ID3 tag header: " + id); Log.w(TAG, "Unexpected first three bytes of ID3 tag header: 0x" + String.format("%06X", id));
return null; return null;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment