Loading util.h +2 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading
util.h +2 −1 Original line number Diff line number Diff line Loading @@ -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); }