diff options
author | 2023-05-15 17:21:47 -0400 | |
---|---|---|
committer | 2023-05-24 11:09:31 -0400 | |
commit | 15809f8101dc408512fc63215ac1d4131cea2feb (patch) | |
tree | 112539e2a8fefb69279b2b377000a6b3fcf217a0 /apex/apex_test.go | |
parent | 1befe407a1bca6fa04b5f19c7dfcb58699573b77 (diff) |
don't require package_name for non-override android_apps
For a non-override android_app, we can assume that the privapp_allowlist
already contains the correct package_name, and so we don't need to
overwrite it in this case.
Bug: 242509786
Test: go test
Merged-In: I0f137e34cae3478dc8b9178d138121ff1d936f07
Change-Id: I0f137e34cae3478dc8b9178d138121ff1d936f07
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r-- | apex/apex_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index c1d80a39f..2dad22b06 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -6260,8 +6260,7 @@ func TestApexWithApps(t *testing.T) { sdk_version: "current", system_modules: "none", privileged: true, - privapp_allowlist: "perms.xml", - package_name: "com.android.AppFooPriv", + privapp_allowlist: "privapp_allowlist_com.android.AppFooPriv.xml", stl: "none", apex_available: [ "myapex" ], } |