Merge pull request #402 from ChadKillingsworth/pixels

Add detection for newer Pixel devices
This commit is contained in:
Faisal Salman
2019-12-20 01:21:32 +07:00
committed by GitHub
2 changed files with 37 additions and 1 deletions

View File

@@ -578,7 +578,7 @@
/android.+;\s(pixel c)[\s)]/i // Google Pixel C
], [MODEL, [VENDOR, 'Google'], [TYPE, TABLET]], [
/android.+;\s(pixel( [23])?( xl)?)[\s)]/i // Google Pixel
/android.+;\s(pixel( [2-9]a?)?( xl)?)[\s)]/i // Google Pixel
], [MODEL, [VENDOR, 'Google'], [TYPE, MOBILE]], [
/android.+;\s(\w+)\s+build\/hm\1/i, // Xiaomi Hongmi 'numeric' models