Skip to content
Snippets Groups Projects
Commit d88e6908 authored by huans's avatar huans Committed by Huan Song
Browse files

Revert "Exit HostConnection for thread which only uses gralloc"

This reverts commit 1b4bcf1e.

Change-Id: I11947e45ea81b33ec67b48f8262902ee3f76728c
parent 6d62288e
Branches
No related tags found
No related merge requests found
......@@ -356,12 +356,6 @@ static HostConnection* createOrGetHostConnection() {
return -EIO; \
}
#define EXIT_GRALLOCONLY_HOST_CONNECTION \
if (hostCon && hostCon->isGrallocOnly()) { \
ALOGD("%s: exiting HostConnection (is buffer-handling thread)", \
__FUNCTION__); \
}
#if PLATFORM_SDK_VERSION < 18
// On older APIs, just define it as a value no one is going to use.
#define HAL_PIXEL_FORMAT_YCbCr_420_888 0xFFFFFFFF
......@@ -1097,8 +1091,6 @@ static int gralloc_unregister_buffer(gralloc_module_t const* module,
}
}
hostCon->unlock();
EXIT_GRALLOCONLY_HOST_CONNECTION;
}
//
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment