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

Commit b7f27089 authored by Paul Duffin's avatar Paul Duffin
Browse files

Add previously released API to test-api-stubs-docs-non-updatable

Previously, `test-api-stubs-docs-non-updatable` did not have a
previously released API as test APIs were not tracked like other API
surfaces in `prebuilts/sdk`. However, since 36 they are tracked.

This change adds the previously released API as it is necessary for
supporting moving flagged APIs from `system` (which `test` extends)
to `public` and also to support moving flagged APIs from `test` to
another surface like `system` or `public`.

Flag: EXEMPT build fix to improve flag support
Bug: 425309457
Test: TH
Change-Id: Icfb756458425200807ab3e0254fd5ddb6bc78c88
parent ccceafae
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -188,6 +188,13 @@ non_updatable_exportable_droidstubs {
    // and can result in incorrect behavior.
    previous_api: ":android.api.combined.test.latest",
    check_api: {
        // Use the compatibility check properties to supply the previously released API to which
        // flagged APIs can be reverted but disable the compatibility check as it is not required.
        last_released: {
            enabled: false,
            api_file: ":android.api.combined.test.latest",
            removed_api_file: ":android-removed.api.combined.test.latest",
        },
        current: {
            api_file: ":non-updatable-test-current.txt",
            removed_api_file: ":non-updatable-test-removed.txt",