Merge "Allow com.android.* classes in system_service stubs"

This commit is contained in:
Anton Hansson
2020-02-20 10:41:03 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 17 deletions

View File

@@ -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" +

View File

@@ -1,20 +1,4 @@
// Baseline format: 1.0
InternalClasses: com.android.permission.persistence.RuntimePermissionsPersistence:
Internal classes must not be exposed
InternalClasses: com.android.permission.persistence.RuntimePermissionsState:
Internal classes must not be exposed
InternalClasses: com.android.permission.persistence.RuntimePermissionsState.PermissionState:
Internal classes must not be exposed
InternalClasses: com.android.role.persistence.RolesPersistence:
Internal classes must not be exposed
InternalClasses: com.android.role.persistence.RolesState:
Internal classes must not be exposed
InternalClasses: com.android.server.SystemService:
Internal classes must not be exposed
InternalClasses: com.android.server.SystemService.TargetUser:
Internal classes must not be exposed
ProtectedMember: com.android.server.SystemService#publishBinderService(String, android.os.IBinder):
Protected methods not allowed; must be public: method com.android.server.SystemService.publishBinderService(String,android.os.IBinder)}
ProtectedMember: com.android.server.SystemService#publishBinderService(String, android.os.IBinder, boolean):