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

Commit 710e20d2 authored by Ihab Awad's avatar Ihab Awad Committed by Android (Google) Code Review
Browse files

Merge "Relax access on deprecated fields for compatibility." into lmp-mr1-dev

parents 4ca9d738 c047bd46
Loading
Loading
Loading
Loading
+6 −6
Original line number Original line 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 |
    public static final int ROUTE_ALL = ROUTE_EARPIECE | ROUTE_BLUETOOTH | ROUTE_WIRED_HEADSET |
            ROUTE_SPEAKER;
            ROUTE_SPEAKER;


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


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


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


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