OSDN Git Service

Rename dump methods to dumpState (again)
authorSM <stephenminugh@gmail.com>
Mon, 10 Oct 2016 22:08:22 +0000 (18:08 -0400)
committerSM <stephenminugh@gmail.com>
Mon, 10 Oct 2016 22:11:34 +0000 (18:11 -0400)
This fixes:
ERROR: no member named 'dump' in 'android::IGraphicBufferConsumer'

 * While compiling for the emulator only

From:
https://github.com/CyanogenMod/android_frameworks_native/commit/1ae08f89f7fa1737cd1291842b76fa98e550f60d

Originated:
https://android.googlesource.com/platform/frameworks/native/+/5fa1223322175356e6ac943cb06d8b1e1cfc39d9

Change-Id: I7f66286b54f9d3a2b02f82cbc0518cd306df8aea

libs/gui/tests/BufferQueue_test.cpp

index 721667c..54c3503 100644 (file)
@@ -904,7 +904,7 @@ TEST_F(BufferQueueTest, TestDiscardFreeBuffers) {
 
     // Check no free buffers in dump
     String8 dumpString;
-    mConsumer->dump(dumpString, nullptr);
+    mConsumer->dumpState(dumpString, nullptr);
 
     // Parse the dump to ensure that all buffer slots that are FREE also
     // have a null GraphicBuffer