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

Commit db444a95 authored by Cody Northrop's avatar Cody Northrop
Browse files

Disable ANGLE rules file checking

There is still something wrong with the feature support library.
Stop loading it by default until issues can be sorted out.

Test: cts-tradefed run singleCommand cts -m CtsAngleIntegrationHostTestCases
Bug: 119305693
Bug: 119322355
Bug: 119305887
Change-Id: I98e9141f9d753449a544cdb9ea4d7f812a10c084
parent 03cb6b0b
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -584,7 +584,13 @@ static void* load_angle(const char* kind, android_namespace_t* ns, egl_connectio
        // 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
        property_get("debug.angle.enable", prop, "0");
        if (atoi(prop)) {
            cnx->featureSo = load_angle_from_namespace("feature_support", ns);
        }
        if (cnx->featureSo) {
            ALOGV("loaded ANGLE's opt-in/out logic from namespace");
            use_angle = check_angle_rules(cnx->featureSo, app_name);