libui: Correct the stream format back to decimal in bufferDumpHelper
The stream format was changed to hexadecimal unexpectedly when the
dataspace info was added. The patch corrects the stream format back to
decimal after the dataspace is printed.
Bug: 199037164
Test: dumpsys SurfaceFlinger
Change-Id: Ibb1324ac34d22cae80114bb2bbe96c82f47f41e6
diff --git a/libs/ui/Gralloc4.cpp b/libs/ui/Gralloc4.cpp
index 9dc9beb..80f6c82 100644
--- a/libs/ui/Gralloc4.cpp
+++ b/libs/ui/Gralloc4.cpp
@@ -939,7 +939,7 @@
<< "KiB, w/h:" << width << "x" << height << ", usage: 0x" << std::hex << usage
<< std::dec << ", req fmt:" << static_cast<int32_t>(pixelFormatRequested)
<< ", fourcc/mod:" << pixelFormatFourCC << "/" << pixelFormatModifier
- << ", dataspace: 0x" << std::hex << static_cast<uint32_t>(dataspace)
+ << ", dataspace: 0x" << std::hex << static_cast<uint32_t>(dataspace) << std::dec
<< ", compressed: ";
if (less) {