Relax access on deprecated fields for compatibility.
Bug: 18610816 Change-Id: If2398069ecd1c5fa1e49af50527bf817b29fde96
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user