Skip to content

Commit

Permalink
Don't include Android model by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pilgrim-brave committed Dec 16, 2020
1 parent ffe62ce commit db2107c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/content-common-user_agent.cc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/content/common/user_agent.cc b/content/common/user_agent.cc
index a87ca565f8aa809a46086861c7057da013e9c911..ab271cb3020eb79fa34cd9d0c675aaecd01faad3 100644
--- a/content/common/user_agent.cc
+++ b/content/common/user_agent.cc
@@ -233,7 +233,7 @@ std::string BuildUserAgentFromProduct(const std::string& product) {
std::string os_info;
base::StringAppendF(&os_info, "%s%s", GetUserAgentPlatform().c_str(),
BuildOSCpuInfo(IncludeAndroidBuildNumber::Exclude,
- IncludeAndroidModel::Include)
+ IncludeAndroidModel::Exclude)
.c_str());
return BuildUserAgentFromOSAndProduct(os_info, product);
}

0 comments on commit db2107c

Please sign in to comment.