Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac119a33 authored by Anton Hansson's avatar Anton Hansson
Browse files

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
Merged-In: I8b36cf7a4ff569d0b960455de09ed40592dd5a9e
(cherry picked from commit f74130f5)
parent b14743ce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -110,9 +110,10 @@ droidstubs {
    name: "services-stubs.sources",
    srcs: [":services-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" +