summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Plass <mplass@google.com>2019-11-21 14:48:34 -0800
committerMichael Plass <mplass@google.com>2019-11-21 14:48:34 -0800
commit4fb1a0c08141caee590a922f1ca7df3b93a06426 (patch)
tree3907bb8b195a2bbd2e794e2a8c1c31557bf8e6ce /tests
parent5a7a0da65724ec40a17ce703056210605ffa5da4 (diff)
Set java version for wifi unit tests
Be explicit about the allowed java version for the unit tests. Bug: 144936502 Test: frameworks/opt/net/wifi/tests/wifitests/coverage.sh /tmp/cov Test: atest FrameworksWifiTests Change-Id: Idf28963061a493aca22caf153a14454b5e36b75e
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wifitests/Android.bp b/tests/wifitests/Android.bp
index 5dd90c1fc..2e3b28ecf 100644
--- a/tests/wifitests/Android.bp
+++ b/tests/wifitests/Android.bp
@@ -390,6 +390,8 @@ android_test {
dxflags: ["--multi-dex"],
+ java_version: "1.9",
+
// wifi-service and services must be included here so that the latest changes
// will be used when tests. Otherwise the tests would run against the installed
// system.