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

Commit 9b146f24 authored by Paul Duffin's avatar Paul Duffin
Browse files

Replace @pending with @hide pending

Supporting both `@pending` and `@hide` makes Metalava slower and more
complex and `@pending` does not provide any real benefit over just
using `@hide`, particularly when it can be followed with text
explaining why it is `@hide`.

This change replaces the two occurences of `@pending` that affect the
API surface with `@hide pending`. It also moves the `@hide` to the
block tag section after the main description.

Flag: EXEMPT minor refactoring to simplify Metalava
Bug: 429965593
Test: m checkapi
Change-Id: I966f5c0c579a8d350a117db60bb0a207970c271f
parent 919d5199
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ import android.os.Build;
/**
 * The Download Manager
 *
 * @pending
 * @hide pending
 */
public final class Downloads {
    private Downloads() {}
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,6 @@ public final class AudioRecordingConfiguration implements Parcelable {
    public AudioFormat getClientFormat() { return mClientFormat; }

    /**
     * @pending for SystemApi
     * Returns the package name of the application performing the recording.
     * Where there are multiple packages sharing the same user id through the "sharedUserId"
     * mechanism, only the first one with that id will be returned
@@ -222,6 +221,7 @@ public final class AudioRecordingConfiguration implements Parcelable {
     * {@link android.Manifest.permission.MODIFY_AUDIO_ROUTING} permission.
     * <br>When called without the permission, the result is an empty string.
     * @return the package name
     * @hide pending for SystemApi
     */
    @UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
    public String getClientPackageName() { return mClientPackageName; }