summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandeep Patil <sspatil@google.com>2017-10-22 03:01:16 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-24 06:10:13 +0000
commit4a0e45324eaed6ef9c3760c7e484f17dcfc12385 (patch)
treee7cdfdf680252ea8a3c678d846ff39497b175bad
parent374e998971435c076feceb996ef55e278158f8cb (diff)
downloadcts-4a0e45324eaed6ef9c3760c7e484f17dcfc12385.tar.gz
SELinuxHostTests: Enforce from shipping api 27 onwards.
The treble tests only run as part of CTS-on-gsi plan and those are only enforceable from first_api_level >= 27 Bug: 67965044 Test: Trivial Change-Id: I4fc046cc34e5b81f635308b6184e91b113eb9dac Signed-off-by: Sandeep Patil <sspatil@google.com> (cherry picked from commit 8e5b5a7241e6017ee377a9ec454ef045bbb8c29b)
-rw-r--r--hostsidetests/security/src/android/security/cts/SELinuxHostTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostsidetests/security/src/android/security/cts/SELinuxHostTest.java b/hostsidetests/security/src/android/security/cts/SELinuxHostTest.java
index 54f1a9273bf..fb0978890c7 100644
--- a/hostsidetests/security/src/android/security/cts/SELinuxHostTest.java
+++ b/hostsidetests/security/src/android/security/cts/SELinuxHostTest.java
@@ -267,7 +267,7 @@ public class SELinuxHostTest extends DeviceTestCase implements IBuildReceiver, I
*/
public static boolean isFullTrebleDevice(ITestDevice device)
throws DeviceNotAvailableException {
- return PropertyUtil.getFirstApiLevel(device) > 25;
+ return PropertyUtil.getFirstApiLevel(device) > 26;
}
private boolean isFullTrebleDevice() throws DeviceNotAvailableException {