• 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

修訂fba1b1226c7fe0c043647bfdf7661e15ddfef46e (tree)
時間2013-09-25 11:48:23
作者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
@@ -622,7 +622,7 @@ public class ImageWallpaper extends WallpaperService {
622622
623623 mEglConfig = chooseEglConfig();
624624 if (mEglConfig == null) {
625- throw new RuntimeException("eglConfig not initialized");
625+ return false;
626626 }
627627
628628 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);