Update the user agent to request the mobile version site.
When we requeste a tab's mobile version site, we overwrite the user agent's OS to Android OS so that the site can use its mobile version layout. In this CL, when overwriting the user agent - Update the Android version from Android 4.0.3 to Android 9 - Add "Chrome tablet" into its OS string - Change product name from "Chrome" to "Chrome Mobile" to increase the likelihood of sites adopting the user agent and displaying the mobile version sites. Bug: 953577 Change-Id: Ib72bd7abb1fa05dbcf9861b1d4d7ff8552c1f01d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637649 Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Reviewed-by:Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#665168}
Showing
Please register or sign in to comment