mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user