Added Generic Android detection

This commit is contained in:
Nikhil Motiani
2017-03-16 15:09:01 +05:30
committed by Nikhil Motiani
parent 8e9c400ec5
commit fbe8a0e3a6
2 changed files with 17 additions and 2 deletions

View File

@@ -659,9 +659,13 @@
/\s(tablet)[;\/]/i, // Unidentifiable Tablet
/\s(mobile)(?:[;\/]|\ssafari)/i // Unidentifiable Mobile
], [[TYPE, util.lowerize], VENDOR, MODEL]
], [[TYPE, util.lowerize], VENDOR, MODEL], [
/*//////////////////////////
/(android.+)[;\/].+build/i // Generic Android Device
], [MODEL, [VENDOR, 'Generic']]
/*//////////////////////////
// TODO: move to string map
////////////////////////////