Skip to content

Commit bab28d5

Browse files
ajsinclaircopybara-androidxtest
authored andcommitted
Deprecate APIs <19 in the device selection macros.
See: go/google3-minsdk-19 PiperOrigin-RevId: 545824953
1 parent 2fd143c commit bab28d5

File tree

7 files changed

+5
-261
lines changed

7 files changed

+5
-261
lines changed

core/javatests/androidx/test/core/app/BUILD

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ load("@build_bazel_rules_android//android:rules.bzl", "android_binary")
44
load("//build_extensions:axt_android_application_test.bzl", "axt_android_application_test")
55
load("//build_extensions:axt_android_local_test.bzl", "axt_android_local_test")
66
load("//build_extensions:android_library_test.bzl", "axt_android_library_test")
7-
load("//build_extensions:phone_devices.bzl", "apis", "devices")
7+
load("//build_extensions:phone_devices.bzl", "devices")
88

99
package(
1010
default_applicable_licenses = ["//:license"],
@@ -109,9 +109,7 @@ axt_android_local_test(
109109
axt_android_library_test(
110110
name = "TakeScreenShotTest",
111111
srcs = ["TakeScreenShotTest.kt"],
112-
device_list = devices(
113-
apis(min_api = 18),
114-
),
112+
device_list = devices(),
115113
deps = [
116114
"//core",
117115
"//core/javatests/androidx/test/core/app/testing",

espresso/web/javatests/androidx/test/espresso/web/bridge/BUILD

Lines changed: 0 additions & 37 deletions
This file was deleted.

espresso/web/javatests/androidx/test/espresso/web/bridge/JavaScriptBoundBridgeTest.java

Lines changed: 0 additions & 83 deletions
This file was deleted.

espresso/web/javatests/androidx/test/espresso/web/bridge/JavaScriptBridgeUnitTest.java

Lines changed: 0 additions & 34 deletions
This file was deleted.

espresso/web/javatests/androidx/test/espresso/web/bridge/JavaScriptIntegrationTest.java

Lines changed: 0 additions & 100 deletions
This file was deleted.

runner/android_junit_runner/javatests/androidx/test/internal/runner/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ axt_android_library_test(
2828
24,
2929
25,
3030
],
31-
min_api = 16,
31+
min_api = 19,
3232
)),
3333
deps = [
3434
# include the large number of methods that will force classes off main dex

services/storage/javatests/androidx/test/services/storage/provider/BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ axt_android_library_test(
1818
args = [
1919
"--install_test_services=True",
2020
],
21-
device_list = devices(apis(min_api = 16)),
21+
device_list = devices(apis(min_api = 19)),
2222
manifest = "AndroidManifest.xml",
2323
deps = [
2424
"//ext/junit",
@@ -38,7 +38,7 @@ axt_android_library_test(
3838
args = [
3939
"--install_test_services=True",
4040
],
41-
device_list = devices(apis(min_api = 16)),
41+
device_list = devices(apis(min_api = 19)),
4242
manifest = "AndroidManifest.xml",
4343
deps = [
4444
"//ext/junit",

0 commit comments

Comments
 (0)