1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:47:46 +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:
Andrew Kaster 2023-09-17 13:16:24 -06:00 committed by Andrew Kaster
parent 27fda83dcf
commit 091a0e0b78

View file

@ -29,7 +29,7 @@ namespace Web {
#if defined(AK_OS_SERENITY)
# define OS_STRING "SerenityOS"
#elif defined(AK_OS_ANDROID)
# define OS_STRING "Android"
# define OS_STRING "Android 10"
#elif defined(AK_OS_LINUX)
# define OS_STRING "Linux"
#elif defined(AK_OS_MACOS)