summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Ian Elliott <ianelliott@google.com> 2019-01-04 13:44:23 -0700
committer Ian Elliott <ianelliott@google.com> 2019-01-04 14:08:17 -0700
commit6d24de491e07a68526bbf760f2d2df2a7a756ea8 (patch)
tree31cc829cbe97da3d381cd8c0cb41e7a3985b51d0 /libs
parentc5a98b505c23e854036429c6aedf59aa6f213dbf (diff)
Enable ANGLE-for-Android rule processing again
Test: Manual testing of various programs Test: cts-tradefed run singleCommand cts -m CtsAngleIntegrationHostTestCases Bug: b/121153494 Change-Id: I8133ce192ca72fd5031cec2a248f2ef84ba953f0
Diffstat (limited to 'libs')
-rw-r--r--libs/graphicsenv/GraphicsEnv.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/libs/graphicsenv/GraphicsEnv.cpp b/libs/graphicsenv/GraphicsEnv.cpp
index 9dc7431714..660e3c3ca8 100644
--- a/libs/graphicsenv/GraphicsEnv.cpp
+++ b/libs/graphicsenv/GraphicsEnv.cpp
@@ -284,16 +284,7 @@ void GraphicsEnv::updateUseAngle() {
} else {
// The "Developer Options" value wasn't set to force the use of ANGLE. Need to temporarily
// load ANGLE and call the updatable opt-in/out logic:
-
- // Check if ANGLE is enabled. Workaround for several bugs:
- // b/119305693 b/119322355 b/119305887
- // Something is not working correctly in the feature library
- char prop[PROPERTY_VALUE_MAX];
- property_get("debug.angle.enable", prop, "0");
- void* featureSo = nullptr;
- if (atoi(prop)) {
- featureSo = loadLibrary("feature_support");
- }
+ void* featureSo = loadLibrary("feature_support");
if (featureSo) {
ALOGV("loaded ANGLE's opt-in/out logic from namespace");
mUseAngle = checkAngleRules(featureSo);