Added DEVICE regular expressions for "Samsung galaxy S6" and "Samsung Galaxy S6 Edge" devices + test cases

This commit is contained in:
Pieter Hendrickx
2015-08-20 09:00:16 +02:00
parent 8e169098b5
commit a19c6be712
4 changed files with 27 additions and 2 deletions

View File

@@ -589,6 +589,11 @@
/android.+(mi[\s\-_]*(?:one|one[\s_]plus)?[\s_]*(?:\d\w)?)\s+build/i // Xiaomi Mi
], [[MODEL, /_/g, ' '], [VENDOR, 'Xiaomi'], [TYPE, MOBILE]], [
/(SM-G920.)/i // Samsung Galaxy S6
], [[MODEL, 'Galaxy S6'], [VENDOR, 'Samsung'], [TYPE, MOBILE]],[
/(SM-G925.)/i // Samsung Galaxy S6 Edge
], [[MODEL, 'Galaxy S6 Edge'], [VENDOR, 'Samsung'], [TYPE, MOBILE]],[
/(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable
], [[TYPE, util.lowerize], VENDOR, MODEL]