Skip to content

Commit

Permalink
fixes #5327 - fixed detection for Samsung E2152 feautre phone
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Mar 31, 2015
1 parent fe9a8cc commit 94e83db
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Tests/fixtures/feature_phone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,22 @@
model: CF61
os_family: Unknown
browser_family: Unknown
-
-
user_agent: SAMSUNG-GT-E2152/E2152XXJK2 NetFront/3.5 Profile/MIDP-2.0 Configuration/CLDC-1.1
os: [ ]
client:
type: browser
name: NetFront
short_name: NF
version: 3.5
engine: NetFront
device:
type: feature phone
brand: SA
model: E2152
os_family: Unknown
browser_family: NetFront
-
user_agent: Cricket-A310/1.0 UP.Browser/6.3.0.7 (GUI) MMP/2.0
os: [ ]
client:
Expand Down
5 changes: 5 additions & 0 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2299,6 +2299,11 @@ Samsung:
model: 'GALAXY Mega 6.3'
device: 'phablet'

# explicit feature phones
- regex: '(?:SAMSUNG-)?GT-E2152'
model: 'E2152'
device: 'feature phone'

# general detections
- regex: '(?:SAMSUNG-)?(GT-(P|N8|N5)[0-9]+[a-z]?)'
device: 'tablet'
Expand Down

0 comments on commit 94e83db

Please sign in to comment.