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

Commit 3b0bc327 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8298157 from 305cf205 to tm-release

Change-Id: I853338c37dfb1d005a9f610539e365167b51b696
parents 22d7a49b 305cf205
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -61,5 +61,6 @@ inline bool isUserDebugBuild() {
}

inline bool isDoHEnabled() {
    return android::net::Experiments::getInstance()->getFlag("doh", 0);
    static bool isAtLeastT = android::modules::sdklevel::IsAtLeastT();
    return android::net::Experiments::getInstance()->getFlag("doh", isAtLeastT ? 1 : 0);
}