Continuing the discussion from Android mobile device detection is too strict:
So…since @codinghorror’s change went through, Discourse now appears in mobile view for my 10" Samsung Galaxy Tablet (user agent below). According to the link shared in the linked post, Samsung Galaxy tablets currently take second place in for the US share of tablet visits. It has 7%, up from 6% a year before. This data shows 2 things that I think were overlooked: 1, Samsung tablet usage increased year over year, and 2, this is US only. When smartphone OS is looked at on a global scale, Android blows iOS away. I believe the last data from IDC showed Android at over 80%, so I would assume that tablet usage globally is greater than 7% (though still less than Apple).
Data aside, I think catching the second most used tablet is important. While avoiding a 100+ line regex statement is good, this one seems too short…
Mozilla/5.0 (Linux; Android 5.0.2; SM-T800 Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.91 Safari/537.36