diff --git a/Tests/fixtures/smartphone-14.yml b/Tests/fixtures/smartphone-14.yml index 1ed1ec6518..f04b1985ac 100644 --- a/Tests/fixtures/smartphone-14.yml +++ b/Tests/fixtures/smartphone-14.yml @@ -6714,3 +6714,23 @@ model: Valencia2 Y100 Plus os_family: Android browser_family: Android Browser +- + user_agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; HM2014819 MIUI/V8.7.7.26.SWING PRO) + os: + name: Android + short_name: AND + version: 5.1.1 + platform: "" + client: + type: browser + name: Android Browser + short_name: AN + version: "" + engine: WebKit + engine_version: "" + device: + type: smartphone + brand: XI + model: Redmi 2 Pro + os_family: Android + browser_family: Android Browser diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 7134af5a91..e3bb7e05bf 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -12612,7 +12612,7 @@ X-View: # Xiaomi Xiaomi: - regex: 'Xiaomi(?!/(?:Miui|Mint[ ])Browser)|Mi9 Pro 5G|(?:MI [a-z0-9]+|Mi-4c|MI-One[ _]?[a-z0-9]+|MIX(?: 2S?)?)[);/ ]|HM (?:[^/;]+) (?:Build|MIUI)|(?:2014501|2014011|201481[12378]|201302[23]|2013061) Build|Redmi|MI_NOTE_Pro|POCOPHONE|(?:SHARK )?(KLE|MBU)-A0|SKR-[AH]0|SKW-[AH]0|POCO F1|DLT-[AH]0|MIBOX[34]([_ ]PRO)?|MiTV4[CSX]?|MiTV-(MSSP1|AXSO0)|AWM-A0|MI CC 9 Meitu Edition|MiBOX1S|M2002J9E' + regex: 'Xiaomi(?!/(?:Miui|Mint[ ])Browser)|Mi9 Pro 5G|(?:MI [a-z0-9]+|Mi-4c|MI-One[ _]?[a-z0-9]+|MIX(?: 2S?)?)[);/ ]|HM (?:[^/;]+) (?:Build|MIUI)|(?:2014501|2014011|201481[12378]|201302[23]|2013061) Build|Redmi|MI_NOTE_Pro|POCOPHONE|(?:SHARK )?(KLE|MBU)-A0|SKR-[AH]0|SKW-[AH]0|POCO F1|DLT-[AH]0|MIBOX[34]([_ ]PRO)?|MiTV4[CSX]?|MiTV-(MSSP1|AXSO0)|AWM-A0|MI CC 9 Meitu Edition|MiBOX1S|M2002J9E|HM2014819' device: 'smartphone' models: # specific smartphone models @@ -12676,6 +12676,8 @@ Xiaomi: model: 'Pocophone F1' - regex: 'Redmi 5 Plus' model: 'Redmi 5 Plus' + - regex: 'HM2014819[);/ ]' + model: 'Redmi 2 Pro' - regex: 'HM 2A[);/ ]' model: 'Redmi 2A' - regex: 'HM 1S[CW]?[);/ ]'