DoH: Don't enable it in T by default
Bug: 200763585
Bug: 155855709
Test: cd packages/modules/DnsResolver && atest
Change-Id: Iecd7bdd926c6651ae66d20e0946c10662659e5da
diff --git a/util.h b/util.h
index 414b62f..a591358 100644
--- a/util.h
+++ b/util.h
@@ -61,9 +61,5 @@
}
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);
}