am 710e20d2: Merge "Relax access on deprecated fields for compatibility." into lmp-mr1-dev
* commit '710e20d22516a896c3560d96fdec423ffa0d154e': Relax access on deprecated fields for compatibility.
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 |
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user