Merge "Allow disabling GL preload even if gfxdriver isn't updatable" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8cafe5d9b4
@@ -186,8 +186,8 @@ public class ZygoteInit {
|
||||
|
||||
private static void preloadOpenGL() {
|
||||
String driverPackageName = SystemProperties.get(PROPERTY_GFX_DRIVER);
|
||||
if (!SystemProperties.getBoolean(PROPERTY_DISABLE_OPENGL_PRELOADING, false) ||
|
||||
driverPackageName == null || driverPackageName.isEmpty()) {
|
||||
if (!SystemProperties.getBoolean(PROPERTY_DISABLE_OPENGL_PRELOADING, false) &&
|
||||
(driverPackageName == null || driverPackageName.isEmpty())) {
|
||||
EGL14.eglGetDisplay(EGL14.EGL_DEFAULT_DISPLAY);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user