Skip to content

Commit

Permalink
refs #5585 - adds detection for meizu m3 note
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Feb 27, 2017
1 parent 0e5b8c2 commit 40244fb
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions Tests/fixtures/phablet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,26 @@
model: M2 Note
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 5.1; m3 note Build/LMY47I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.68 Mobile Safari/537.36
os:
name: Android
short_name: AND
version: "5.1"
platform:
client:
type: browser
name: Chrome Mobile
short_name: CM
version: "54.0.2840.68"
engine: Blink
engine_version:
device:
type: phablet
brand: M1
model: M3 Note
os_family: Android
browser_family: Chrome
-
user_agent: Mozilla/5.0 (Linux; Android 4.2.1; M-PP2G530 Build/JOP40D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Mobile Safari/537.36
os:
Expand Down
4 changes: 2 additions & 2 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2786,13 +2786,13 @@ MEEG:

# Meizu
Meizu:
regex: '(M04[05]|M35[1356]|MX[ -]?[234](?: Pro)?|(?:MZ-)?m[12] note|(?:MZ-)?M57[18]C)[);/ ]'
regex: '(M04[05]|M35[1356]|MX[ -]?[234](?: Pro)?|(?:MZ-)?m[123] note|(?:MZ-)?M57[18]C)[);/ ]'
device: 'smartphone'
models:
- regex: '(?:MZ-)?M571C'
device: 'phablet'
model: 'M2 Note'
- regex: '(?:MZ-)?m(1|2) note[);/ ]'
- regex: '(?:MZ-)?m(1|2|3) note[);/ ]'
device: 'phablet'
model: 'M$1 Note'
- regex: '(?:MZ-)?M578C'
Expand Down

0 comments on commit 40244fb

Please sign in to comment.