Sdk28ModuleController

public class Sdk28ModuleController
extends MinSdkModuleController

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.module.BaseModuleController
     ↳ com.android.tradefed.testtype.suite.module.MinSdkModuleController
       ↳ com.android.tradefed.testtype.suite.module.Sdk28ModuleController


A module controller to check if a device is on SDK 28 (Android 9) or above. This is used to workaround b/78780430, where on Android 8.1 armeabi-v7a devices, instrumentation will crash because the target package was pre-opted for only arm64.

Use by adding this line to your AndroidTest.xml:

<object type="module_controller"
 class="com.android.tradefed.testtype.suite.module.Sdk28ModuleController" />

Summary

Public constructors

Sdk28ModuleController()

Public constructors

Sdk28ModuleController

public Sdk28ModuleController ()