diff options
author | sgiehl <stefan@piwik.org> | 2014-02-13 14:05:44 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-02-13 14:05:44 +0400 |
commit | 2e3b70c4900fd115de7a6173ce466074001410d4 (patch) | |
tree | 646d150b785a372ab15eae936f8cffde46560287 /tests | |
parent | c463dadc2c2645c03d991490aaf95829d13edbd6 (diff) |
Improve device type detection for devices running android that couldn't be detected.
Devices running Android 3.X are always tablets, as that Android version was designed for tablets only
Devices running Android < 2 are smartphones, as the first tablets were running Android 2.X
Diffstat (limited to 'tests')
-rw-r--r-- | tests/PHPUnit/Fixtures/userAgentParserEnhancedFixtures.yml | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/tests/PHPUnit/Fixtures/userAgentParserEnhancedFixtures.yml b/tests/PHPUnit/Fixtures/userAgentParserEnhancedFixtures.yml index cc4ca67d33..c274c1d1c4 100644 --- a/tests/PHPUnit/Fixtures/userAgentParserEnhancedFixtures.yml +++ b/tests/PHPUnit/Fixtures/userAgentParserEnhancedFixtures.yml @@ -8937,7 +8937,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -8985,7 +8985,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -9209,7 +9209,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -9241,7 +9241,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -9257,7 +9257,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -9273,7 +9273,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -9321,7 +9321,7 @@ short_name: AN version: device: - type: + type: tablet brand: model: os_family: Android @@ -16846,4 +16846,20 @@ brand: HT model: One os_family: Android + browser_family: Android Browser +- + user_agent: Mozilla/5.0 (Linux; U; Android 0.5; en-us) AppleWebKit/522+ (KHTML, like Gecko) Safari/419.3 + os: + name: Android + short_name: AND + version: 0.5 + browser: + name: Android Browser + short_name: AN + version: + device: + type: smartphone + brand: + model: + os_family: Android browser_family: Android Browser
\ No newline at end of file |