summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2021-01-26 19:53:31 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-01-26 19:53:31 +0000
commite1c8e59876f6c64c7ecc54ff8ac709810285f44c (patch)
tree8313518cd1d4ebd8f4a4cf19d2433e1a45a9fc98
parent7a2d9d0613e96583f15f38d06733e192536702b0 (diff)
parent3525be21755d669404025e000d44d94bc9861fd0 (diff)
Merge "Add visibility for new location of permission apex." am: 3525be2175
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1560528 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I7f2084f37e592c774325d4c7290ec99195505cb2
-rw-r--r--apex/permission/framework/Android.bp5
-rw-r--r--apex/permission/service/Android.bp1
2 files changed, 5 insertions, 1 deletions
diff --git a/apex/permission/framework/Android.bp b/apex/permission/framework/Android.bp
index c0560f61460f..1a2d5d5412ed 100644
--- a/apex/permission/framework/Android.bp
+++ b/apex/permission/framework/Android.bp
@@ -26,7 +26,10 @@ java_sdk_library {
defaults: ["framework-module-defaults"],
// Restrict access to implementation library.
- impl_library_visibility: ["//frameworks/base/apex/permission:__subpackages__"],
+ impl_library_visibility: [
+ "//frameworks/base/apex/permission:__subpackages__",
+ "//packages/modules/Permission:__subpackages__",
+ ],
srcs: [
":framework-permission-sources",
diff --git a/apex/permission/service/Android.bp b/apex/permission/service/Android.bp
index 6e04edfe02f1..cc6f2019a253 100644
--- a/apex/permission/service/Android.bp
+++ b/apex/permission/service/Android.bp
@@ -27,6 +27,7 @@ java_sdk_library {
"//frameworks/base/apex/permission/tests",
"//frameworks/base/services/tests/mockingservicestests",
"//frameworks/base/services/tests/servicestests",
+ "//packages/modules/Permission/tests",
],
srcs: [
":service-permission-sources",