Back to project page PreCTS.
The source code is released under:
Apache License
If you think the Android project PreCTS listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.androidhuman.ctsprepare.data; // ww w. j av a 2 s . c o m public class BasicDeviceInfo { public String serial; public String model; public String version; @Override public String toString() { return "BasicDeviceInfo [serial=" + serial + ", model=" + model + "]"; } /** * To support Configuration class while running automation, * minimum 4.3 version is required. (API Level 18) * @return */ public boolean isAutomationSupported(){ Float version = Float.valueOf(this.version); return version >= 4.3f ? true : false; } }