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

Commit f0929ff3 authored by Mike Yu's avatar Mike Yu Committed by Automerger Merge Worker
Browse files

DoH: Don't enable it in T by default am: 15aa9edd am: 25b4676c am: b25d1fc2

Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1990006

Change-Id: I2244861f8695e442ced2c91234bac107ed221f15
parents 77cf2a3a b25d1fc2
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);
}