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

Commit 1682405e authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 8296831 from ba4ddeb0 to mainline-mediaprovider-release

Change-Id: If7e9a20522f5f65723651fa5f948fa3282aa894e
parents 678cc07b ba4ddeb0
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);
}