Merge "Fix suspend crash issue on no GPU platform."

This commit is contained in:
Treehugger Robot
2016-08-25 18:01:05 +00:00
committed by Gerrit Code Review

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];
}