diff options
Diffstat (limited to 'gralloc')
-rw-r--r-- | gralloc/gralloc_module.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gralloc/gralloc_module.cpp b/gralloc/gralloc_module.cpp index cdcbc5b9..70d2c69b 100644 --- a/gralloc/gralloc_module.cpp +++ b/gralloc/gralloc_module.cpp @@ -96,7 +96,9 @@ static int gralloc_register_buffer(gralloc_module_t const *module, buffer_handle if (hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) { - AERR("Can't register buffer 0x%p as it is a framebuffer", handle); + AINF("Register framebuffer 0x%p is no-op", handle); + retval = 0; + } else if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_UMP) { |