Don't create RenderThread for dumpsys gfxinfo
Change-Id: I4cbad14ad6f952ddec11eb732701909fd75ff137 Fixes: 121129527 Test: guess
This commit is contained in:
@@ -244,8 +244,10 @@ uint32_t RenderProxy::frameTimePercentile(int percentile) {
|
||||
}
|
||||
|
||||
void RenderProxy::dumpGraphicsMemory(int fd) {
|
||||
auto& thread = RenderThread::getInstance();
|
||||
thread.queue().runSync([&]() { thread.dumpGraphicsMemory(fd); });
|
||||
if (RenderThread::hasInstance()) {
|
||||
auto& thread = RenderThread::getInstance();
|
||||
thread.queue().runSync([&]() { thread.dumpGraphicsMemory(fd); });
|
||||
}
|
||||
}
|
||||
|
||||
void RenderProxy::setProcessStatsBuffer(int fd) {
|
||||
|
||||
Reference in New Issue
Block a user