Added the ability to detect whether the device is Android tablet