frameworks/native: Make Thread::run threadName argument required
Bug: 27557176
Change-Id: I009046d04cc127ee280c7b2038c04fab540fc5e6
diff --git a/libs/gui/tests/SurfaceTextureGL_test.cpp b/libs/gui/tests/SurfaceTextureGL_test.cpp
index 1a904b5..dddcf92 100644
--- a/libs/gui/tests/SurfaceTextureGL_test.cpp
+++ b/libs/gui/tests/SurfaceTextureGL_test.cpp
@@ -295,7 +295,7 @@
};
sp<Thread> pt(new ProducerThread(mANW, testPixels));
- pt->run();
+ pt->run("ProducerThread");
glViewport(0, 0, texWidth, texHeight);
@@ -484,7 +484,7 @@
sp<Thread> pt(new ProducerThread(mANW));
- pt->run();
+ pt->run("ProducerThread");
// eat a frame so GLConsumer will own an at least one slot
dw->waitForFrame();
@@ -681,7 +681,7 @@
};
sp<Thread> pt(new ProducerThread(mANW));
- pt->run();
+ pt->run("ProducerThread");
mFW->waitForFrame();
mFW->waitForFrame();