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

Commit 15aa9edd authored by Mike Yu's avatar Mike Yu
Browse files

DoH: Don't enable it in T by default

Bug: 200763585
Bug: 155855709
Test: cd packages/modules/DnsResolver && atest
Change-Id: Iecd7bdd926c6651ae66d20e0946c10662659e5da
parent 882eeb91
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -61,9 +61,5 @@ inline bool isUserDebugBuild() {
}

inline bool isDoHEnabled() {
    // STOPSHIP(b/200763585): clean up it before T shipping.
    static bool isAtLeastT = android::modules::sdklevel::IsAtLeastT();
    if (isAtLeastT) return 1;

    return android::net::Experiments::getInstance()->getFlag("doh", 0);
}