diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2014-03-04 13:02:15 +0000 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-03-28 14:58:54 -0700 |
commit | d87286fe5446e3d797290fa48b2369c1d0e2144b (patch) | |
tree | 09b40781a33aaa07c64b26cc1c338d6f59928818 /src/com/android/gallery3d/ui | |
parent | 314380d8cf039621a0d0f6adaf324e2de80aaad4 (diff) | |
download | android_packages_apps_Gallery2-d87286fe5446e3d797290fa48b2369c1d0e2144b.tar.gz android_packages_apps_Gallery2-d87286fe5446e3d797290fa48b2369c1d0e2144b.tar.bz2 android_packages_apps_Gallery2-d87286fe5446e3d797290fa48b2369c1d0e2144b.zip |
Camera: Fix out-of-order operations while setting up the editor
The buffer's producer is created by the cache pipeline generation,
so verifying that it isn't null before calling compute() is wrong.
This breaks a few devices, and should actually break them all, so
fix it; only check if getProducer() is valid after running setProducer()
Change-Id: I9d7d03fa9c9eb7063daef2ae28a78cd70b7a5ef3
Diffstat (limited to 'src/com/android/gallery3d/ui')
0 files changed, 0 insertions, 0 deletions