summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2022-12-15 19:28:18 +0000
committer Winson Chung <winsonc@google.com> 2022-12-15 23:43:58 +0000
commit8edd2179bec35cbb6ef2a119f13aa7e21a47703e (patch)
treed1a47aad133fec9f4e49a17f69243bed2d097120
parent10465c13f81464fa3f20e4a3d4a69eb9d9f74979 (diff)
Signing tests with platform keys
- READ_DEVICE_CONFIG is a signature|preinstalled permission so we need to sign the test apk similar to what we do for other SysUI tests Bug: 257123734 Test: Presubmit Change-Id: Iee33f5187a67c2575ba6ae4a327b9e4860e05152
-rw-r--r--libs/WindowManager/Shell/tests/unittest/Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/WindowManager/Shell/tests/unittest/Android.bp b/libs/WindowManager/Shell/tests/unittest/Android.bp
index 1a8b9540cbd0..2ac1dc0c4838 100644
--- a/libs/WindowManager/Shell/tests/unittest/Android.bp
+++ b/libs/WindowManager/Shell/tests/unittest/Android.bp
@@ -69,6 +69,9 @@ android_test {
enabled: false,
},
+ platform_apis: true,
+ certificate: "platform",
+
aaptflags: [
"--extra-packages",
"com.android.wm.shell.tests",