Merge "Fix suspend crash issue on no GPU platform." am: 175621f517 am: 98b07f6b55 am: 9fb8a51cce

am: 1286e51142

Change-Id: I17362eedcec8037cfd79f3120a7aa28afd5b028f
This commit is contained in:
Ivan.liu
2016-08-29 22:38:51 +00:00
committed by android-build-merger

View File

@@ -547,6 +547,11 @@ final class ColorFade {
logEglError("eglChooseConfig");
return false;
}
if (numEglConfigs[0] <= 0) {
Slog.e(TAG, "no valid config found");
return false;
}
mEglConfig = eglConfigs[0];
}