0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-03 15:25:17 +00:00
Files
termux-packages/x11-packages/chromium-host-tools/cr-patches/1009-chromium-disable-google-api-warnings.patch
2025-04-22 18:31:06 +08:00

15 lines
417 B
Diff

--- a/chrome/browser/ui/startup/infobar_utils.cc
+++ b/chrome/browser/ui/startup/infobar_utils.cc
@@ -154,7 +154,11 @@
infobars::ContentInfoBarManager* infobar_manager =
infobars::ContentInfoBarManager::FromWebContents(web_contents);
+#ifdef __TERMUX__
+ if (0) {
+#else
if (!google_apis::HasAPIKeyConfigured()) {
+#endif
GoogleApiKeysInfoBarDelegate::Create(infobar_manager);
}