AchievementManager - Add Android to user agent

If the build is an Android build, identify it as such in the AchievementManager user agent so that android builds can be tracked separately for debug purposes.
This commit is contained in:
LillyJadeKatrin 2025-06-13 20:35:24 -04:00
parent b662cd93ce
commit 98678e9a8b

View File

@ -49,8 +49,13 @@
#include <shlwapi.h>
#endif // RC_CLIENT_SUPPORTS_RAINTEGRATION
#ifdef ANDROID
static const Common::HttpRequest::Headers USER_AGENT_HEADER = {
{"User-Agent", Common::GetUserAgentStr() + " (Android)"}};
#else // ANDROID
static const Common::HttpRequest::Headers USER_AGENT_HEADER = {
{"User-Agent", Common::GetUserAgentStr()}};
#endif // ANDROID
AchievementManager& AchievementManager::GetInstance()
{