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

Commit 2d320e3b authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7766907 from 96ec6c8e to tm-d1-release

Change-Id: I7ff4101b0308f7c30780cde9e94ec8354763bdf7
parents d80eaca3 96ec6c8e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,7 +62,8 @@ inline bool isUserDebugBuild() {

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

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