mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
LibWeb: Report Android 10 as OS_STRING in user agent on Android
Some websites, such as m.youtube.com, sniff for a version after the Android OS version. Chrome has recently taken to always reporting Android 10, so let's follow suit.
This commit is contained in:
parent
27fda83dcf
commit
091a0e0b78
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace Web {
|
||||||
#if defined(AK_OS_SERENITY)
|
#if defined(AK_OS_SERENITY)
|
||||||
# define OS_STRING "SerenityOS"
|
# define OS_STRING "SerenityOS"
|
||||||
#elif defined(AK_OS_ANDROID)
|
#elif defined(AK_OS_ANDROID)
|
||||||
# define OS_STRING "Android"
|
# define OS_STRING "Android 10"
|
||||||
#elif defined(AK_OS_LINUX)
|
#elif defined(AK_OS_LINUX)
|
||||||
# define OS_STRING "Linux"
|
# define OS_STRING "Linux"
|
||||||
#elif defined(AK_OS_MACOS)
|
#elif defined(AK_OS_MACOS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue