frameworks/base
Révision | 0a017e126e0c070d528472e57e1ab272c2a76670 (tree) |
---|---|
l'heure | 2015-12-22 13:13:50 |
Auteur | Matt Gumbel <matthew.k.gumbel@linu...> |
Commiter | Chih-Wei Huang |
ImageWallpaper: don't throw-up when EGL init fails
Just fall back to non-GL path instead.
Change-Id: Icabee5b7cadd49942e9c920a7ff49a54fc8bea9f
For: AXIA-991
Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>
@@ -668,7 +668,7 @@ public class ImageWallpaper extends WallpaperService { | ||
668 | 668 | |
669 | 669 | mEglConfig = chooseEglConfig(); |
670 | 670 | if (mEglConfig == null) { |
671 | - throw new RuntimeException("eglConfig not initialized"); | |
671 | + return false; | |
672 | 672 | } |
673 | 673 | |
674 | 674 | mEglContext = createContext(mEgl, mEglDisplay, mEglConfig); |