Basic Keystore availability test
Loop up the Keystore service from the test payload to make sure it can
be found and communicated with.
Bug: 190578423
Test: atest MicrodroidHostTestCases
Change-Id: I1dd863202b7de5405658ee5e922b955e3cba6741
diff --git a/tests/testapk/Android.bp b/tests/testapk/Android.bp
index 35f2f08..1122b25 100644
--- a/tests/testapk/Android.bp
+++ b/tests/testapk/Android.bp
@@ -6,7 +6,7 @@
name: "MicrodroidTestApp",
srcs: ["src/java/**/*.java"],
jni_libs: ["MicrodroidTestNativeLib"],
- sdk_version: "current",
+ platform_apis: true,
use_embedded_native_libs: true,
}
@@ -14,7 +14,10 @@
cc_library_shared {
name: "MicrodroidTestNativeLib",
srcs: ["src/native/*.cpp"],
- sdk_version: "current",
+ shared_libs: [
+ "android.system.keystore2-V1-ndk_platform",
+ "libbinder_ndk",
+ ],
}
genrule {