commit | d25fef5357480af5bee11ed00baa7e2b27616f18 | [log] [tgz] |
---|---|---|
author | Michael Gernoth <michael@gernoth.net> | Sun Jan 18 19:29:43 2015 +0100 |
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | Fri Oct 16 14:46:53 2015 -0700 |
tree | 656d61cf074253ac4402a52e993e1aea2d282077 | |
parent | 0e4ac33b1eab6be4b7cdc3492a9777aaefb3affd [diff] |
Camera2 legacy: retry EGL config without EGL_RECORDABLE_ANDROID Some older blobs don't support EGL_RECORDABLE_ANDROID and return no configuration when this attribute is present. Retry eglChooseConfig without it in this case. This fixes the flashlight for devices affected by this and doesn't break camera-functionality. Change-Id: Ic479231744343567233edaa1cccea7bdaafaa14f