Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27cbfa8b authored by Bo Hu's avatar Bo Hu Committed by android-build-merger
Browse files

Merge "Emulator: Replace ro.kernel.qemu.gles with qemu.gles" into nyc-dev am: 4dc580c0

am: a0485b53

* commit 'a0485b53':
  Emulator: Replace ro.kernel.qemu.gles with qemu.gles
parents 937ed8f8 a0485b53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ static jboolean android_view_DisplayListCanvas_isAvailable(JNIEnv* env, jobject
    }
    // In the emulator this property will be set > 0 when OpenGL ES 2.0 is
    // enabled, 0 otherwise. On old emulator versions it will be undefined.
    property_get("ro.kernel.qemu.gles", prop, "0");
    property_get("qemu.gles", prop, "0");
    return atoi(prop) > 0 ? JNI_TRUE : JNI_FALSE;
}