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

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

Add package filter for system_server stubs

Should prevent accidental addition of APIs outside com.android,
which is where we want these APIs to be.

Bug: 149293194
Test: m update-api
Change-Id: I144ce6dbfe524106fc7de87318f66390c31b45af
Merged-In: I144ce6dbfe524106fc7de87318f66390c31b45af
parent 087646e9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ stubs_defaults {
    name: "service-module-stubs-srcs-defaults",
    args: mainline_service_stubs_args,
    installable: false,
    filter_packages: ["com.android."],
    check_api: {
        current: {
            api_file: "api/current.txt",
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ droidstubs {
        " --hide DeprecationMismatch" +
        " --hide HiddenTypedefConstant",
    visibility: ["//visibility:private"],
    filter_packages: ["com.android."],
    check_api: {
        current: {
            api_file: "api/current.txt",