]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 753288: Adds support for detecting Android operating system
authorByron Jones <bjones@mozilla.com>
Tue, 22 May 2012 06:26:18 +0000 (14:26 +0800)
committerByron Jones <bjones@mozilla.com>
Tue, 22 May 2012 06:26:18 +0000 (14:26 +0800)
r=LpSolit, a=LpSolit

Bugzilla/UserAgent.pm

index e99a6d99f05fe9d843a4914a96f20b2974b1d736..6ad771fabc845eef39b992d63566f10161a703ce 100644 (file)
@@ -99,6 +99,7 @@ use constant OS_MAP => (
     qr/\(.*QNX.*\)/ => ["Neutrino"],
     qr/\(.*VMS.*\)/ => ["OpenVMS"],
     qr/\(.*HP-?UX.*\)/ => ["HP-UX"],
+    qr/\(.*Android.*\)/ => ["Android"],
     # Windows
     qr/\(.*Windows XP.*\)/ => ["Windows XP"],
     qr/\(.*Windows NT 6\.2.*\)/ => ["Windows 8"],