@Inherited
@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface UseUiAutomation
UiAutomation
. It is effectively equivalent to
@MinSdkVersion(Build.VERSION_CODES.JELLY_BEAN_MR2)
, just more
explicit.
As any annotations, it is useful only if it is processed by tools.
TestRunner
filters out tests with this annotation if the current
device has SDK version below 18 (JELLY_BEAN_MR2).