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
This commit is contained in:
Winson Chung
2022-12-15 19:28:18 +00:00
parent 10465c13f8
commit 8edd2179be

View File

@@ -69,6 +69,9 @@ android_test {
enabled: false,
},
platform_apis: true,
certificate: "platform",
aaptflags: [
"--extra-packages",
"com.android.wm.shell.tests",