fixed test for mobile OSs
[BUG #8392] fixed device type detection for Nexus tablets