File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 11
11
** Breaking Changes**
12
12
13
13
** API Changes**
14
+ * Make DeviceController an public API from ExperimentalTestApi
14
15
15
16
** Breaking API Changes**
16
17
Original file line number Diff line number Diff line change @@ -37,6 +37,16 @@ package androidx.test.platform.app {
37
37
38
38
package androidx.test.platform.device {
39
39
40
+ public interface DeviceController {
41
+ method public void setDeviceMode(int);
42
+ method public void setScreenOrientation(int);
43
+ }
44
+
45
+ public enum DeviceController.ScreenOrientation {
46
+ enum_constant public static final androidx.test.platform.device.DeviceController.ScreenOrientation LANDSCAPE;
47
+ enum_constant public static final androidx.test.platform.device.DeviceController.ScreenOrientation PORTRAIT;
48
+ }
49
+
40
50
public class UnsupportedDeviceOperationException extends java.lang.RuntimeException implements androidx.test.platform.TestFrameworkException {
41
51
ctor public UnsupportedDeviceOperationException(String!);
42
52
ctor public UnsupportedDeviceOperationException(String!, Throwable!);
Original file line number Diff line number Diff line change 16
16
17
17
package androidx .test .platform .device ;
18
18
19
- import androidx .test .annotation .ExperimentalTestApi ;
20
19
21
20
/**
22
21
* Provides base-level device operations that can be used to build user actions such as folding a
25
24
* <p>This is a low level API, typically used by higher level test frameworks. It is generally not
26
25
* recommended for direct use by most tests. Please use high-level Espresso device APIs to interact
27
26
* with the device.
28
- *
29
- * <p>This API is experimental and is subject to change or removal in future releases.
30
27
*/
31
- @ ExperimentalTestApi
32
28
public interface DeviceController {
33
29
/**
34
30
* Sets the connected device to the provided mode. unsupported device mode.
You can’t perform that action at this time.
0 commit comments