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

Commit 8fd5d25a authored by Ihab Awad's avatar Ihab Awad Committed by Natiq Ahmed
Browse files

Relax access on deprecated fields for compatibility.

Bug: 18610816
Change-Id: If2398069ecd1c5fa1e49af50527bf817b29fde96
parent 2275cb6e
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;