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

Commit e57a8f33 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge changes I5f425928,I397d361f

* changes:
  Define stubs_defaults for the new API surfaces
  Add SystemApi params to framework-module defaults
parents f828b6c7 7be934f3
Loading
Loading
Loading
Loading
+31 −1
Original line number Diff line number Diff line
@@ -34,6 +34,36 @@ stubs_defaults {

stubs_defaults {
    name: "framework-module-stubs-defaults-systemapi",
    args: mainline_stubs_args + " --show-annotation android.annotation.SystemApi ",
    args: mainline_stubs_args +
    " --show-annotation android.annotation.SystemApi\\(" +
    "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS," +
    "process=android.annotation.SystemApi.Process.ALL\\) ",
    installable: false,
}

stubs_defaults {
    name: "framework-module-stubs-defaults-module_apps_api",
    args: mainline_stubs_args +
    " --show-annotation android.annotation.SystemApi\\(" +
    "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS," +
    "process=android.annotation.SystemApi.Process.ALL\\) " +
    " --show-annotation android.annotation.SystemApi\\(" +
    "client=android.annotation.SystemApi.Client.MODULE_APPS," +
    "process=android.annotation.SystemApi.Process.ALL\\) ",
    installable: false,
}

stubs_defaults {
    name: "framework-module-stubs-defaults-module_libs_api",
    args: mainline_stubs_args +
    " --show-annotation android.annotation.SystemApi\\(" +
    "client=android.annotation.SystemApi.Client.PRIVILEGED_APPS," +
    "process=android.annotation.SystemApi.Process.ALL\\) " +
    " --show-annotation android.annotation.SystemApi\\(" +
    "client=android.annotation.SystemApi.Client.MODULE_APPS," +
    "process=android.annotation.SystemApi.Process.ALL\\) " +
    " --show-annotation android.annotation.SystemApi\\(" +
    "client=android.annotation.SystemApi.Client.MODULE_LIBRARIES," +
    "process=android.annotation.SystemApi.Process.ALL\\) ",
    installable: false,
}