• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

修訂a1e1f7904a9c0f8a0ac3bb204ad3021cca7b0a6b (tree)
時間2014-08-27 19:18:37
作者Matt Gumbel <matthew.k.gumbel@linu...>
CommiterChih-Wei Huang

Log Message

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>

Change Summary

差異

--- a/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
+++ b/packages/SystemUI/src/com/android/systemui/ImageWallpaper.java
@@ -689,7 +689,7 @@ public class ImageWallpaper extends WallpaperService {
689689
690690 mEglConfig = chooseEglConfig();
691691 if (mEglConfig == null) {
692- throw new RuntimeException("eglConfig not initialized");
692+ return false;
693693 }
694694
695695 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);