summaryrefslogtreecommitdiff
path: root/services/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-02-19 18:29:12 +0000
committerAnton Hansson <hansson@google.com>2020-02-19 18:29:12 +0000
commitf74130f525ae29fe197dab424bfdae5581755fde (patch)
tree20102c5633fde81b27790a745bc2c4f243874c6f /services/Android.bp
parentdaa9d884442284f654be37155f6fb50689380a63 (diff)
Allow com.android.* classes in system_service stubs
The android.* rule is meant to be for the public SDK. Bug: 147559833 Test: m checkapi Change-Id: I8b36cf7a4ff569d0b960455de09ed40592dd5a9e
Diffstat (limited to 'services/Android.bp')
-rw-r--r--services/Android.bp3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/Android.bp b/services/Android.bp
index c77e75da66ba..db6e21a62ff3 100644
--- a/services/Android.bp
+++ b/services/Android.bp
@@ -114,9 +114,10 @@ droidstubs {
name: "services-stubs.sources",
srcs: [":services-all-sources"],
installable: false,
- // TODO: remove the --hide options below
args: " --show-annotation android.annotation.SystemApi\\(client=android.annotation.SystemApi.Client.SYSTEM_SERVER\\)" +
" --hide-annotation android.annotation.Hide" +
+ " --hide InternalClasses" + // com.android.* classes are okay in this interface
+ // TODO: remove the --hide options below
" --hide-package com.google.android.startop.iorap" +
" --hide ReferencesHidden" +
" --hide DeprecationMismatch" +