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

Commit 9ae44f92 authored by Ihab Awad's avatar Ihab Awad Committed by Android Git Automerger
Browse files

am 710e20d2: Merge "Relax access on deprecated fields for compatibility." into lmp-mr1-dev

* commit '710e20d2':
  Relax access on deprecated fields for compatibility.
parents 9e3adb82 710e20d2
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -54,14 +54,14 @@ public final class AudioState implements Parcelable {
    public static final int ROUTE_ALL = ROUTE_EARPIECE | ROUTE_BLUETOOTH | ROUTE_WIRED_HEADSET |
            ROUTE_SPEAKER;

    /** @hide */
    @Deprecated public final boolean isMuted;
    /** Note: Deprecated, please do not use if possible. */
    @SystemApi public final boolean isMuted;

    /** @hide */
    @Deprecated public final int route;
    /** Note: Deprecated, please do not use if possible. */
    @SystemApi public final int route;

    /** @hide */
    @Deprecated public final int supportedRouteMask;
    /** Note: Deprecated, please do not use if possible. */
    @SystemApi public final int supportedRouteMask;

    public AudioState(boolean muted, int route, int supportedRouteMask) {
        this.isMuted = muted;