Backport - Improve detection for Nvidia devices

(cherry picked from commit 9cdf560e60)
This commit is contained in:
Faisal Salman
2024-12-12 20:01:58 +07:00
parent cbe60388ea
commit d66c971090
2 changed files with 43 additions and 5 deletions

View File

@@ -6483,6 +6483,23 @@
"model": "Xbox",
"type": "console"
}
},{
"desc": "Tegra Note 7",
"ua": "Mozilla/5.0 (Linux; Android 5.1; TegraNote-P1640 Build/LMY47D) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Safari/537.36",
"expect": {
"vendor": "Nvidia",
"model": "TegraNote-P1640",
"type": "tablet"
}
},
{
"desc": "Nvidia Shield",
"ua": "Mozilla/5.0 (Linux; Android 5.1; SHIELD) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.74 Mobile Safari/537.36",
"expect": {
"vendor": "Nvidia",
"model": "SHIELD",
"type": "console"
}
},
{
"desc": "Nvidia Shield Tablet",
@@ -6493,6 +6510,24 @@
"type": "tablet"
}
},
{
"desc": "Nvidia Shield Tablet K1",
"ua": "Mozilla/5.0 (Linux; Android 7.0; SHIELD Tablet K1 Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Safari/537.36",
"expect": {
"vendor": "Nvidia",
"model": "SHIELD Tablet K1",
"type": "tablet"
}
},
{
"desc": "Nvidia Shield TV",
"ua": "Mozilla/5.0 (Linux; Android 11; SHIELD Android TV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36 ",
"expect": {
"vendor": "Nvidia",
"model": "SHIELD Android TV",
"type": "smarttv"
}
},
{
"desc": "Ouya",
"ua": "Mozilla/5.0 (Linux; Android 4.1.2; OUYA Console Build/JZO54L-OUYA) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.84 Safari/537.36",