diff options
-rw-r--r-- | api/current.txt | 12 | ||||
-rw-r--r-- | telecomm/java/android/telecomm/AudioState.java | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/api/current.txt b/api/current.txt index 5159a3a..5b8ba4d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -28490,12 +28490,12 @@ package android.telecomm { method public int describeContents(); method public void writeToParcel(android.os.Parcel, int); field public static final android.os.Parcelable.Creator CREATOR; - field public static int ROUTE_ALL; - field public static int ROUTE_BLUETOOTH; - field public static int ROUTE_EARPIECE; - field public static int ROUTE_SPEAKER; - field public static int ROUTE_WIRED_HEADSET; - field public static int ROUTE_WIRED_OR_EARPIECE; + field public static final int ROUTE_ALL = 15; // 0xf + field public static final int ROUTE_BLUETOOTH = 2; // 0x2 + field public static final int ROUTE_EARPIECE = 1; // 0x1 + field public static final int ROUTE_SPEAKER = 8; // 0x8 + field public static final int ROUTE_WIRED_HEADSET = 4; // 0x4 + field public static final int ROUTE_WIRED_OR_EARPIECE = 5; // 0x5 field public final boolean isMuted; field public final int route; field public final int supportedRouteMask; diff --git a/telecomm/java/android/telecomm/AudioState.java b/telecomm/java/android/telecomm/AudioState.java index 491af14..a5fda79 100644 --- a/telecomm/java/android/telecomm/AudioState.java +++ b/telecomm/java/android/telecomm/AudioState.java @@ -26,25 +26,25 @@ import java.util.Locale; */ public final class AudioState implements Parcelable { /** Direct the audio stream through the device's earpiece. */ - public static int ROUTE_EARPIECE = 0x00000001; + public static final int ROUTE_EARPIECE = 0x00000001; /** Direct the audio stream through Bluetooth. */ - public static int ROUTE_BLUETOOTH = 0x00000002; + public static final int ROUTE_BLUETOOTH = 0x00000002; /** Direct the audio stream through a wired headset. */ - public static int ROUTE_WIRED_HEADSET = 0x00000004; + public static final int ROUTE_WIRED_HEADSET = 0x00000004; /** Direct the audio stream through the device's spakerphone. */ - public static int ROUTE_SPEAKER = 0x00000008; + public static final int ROUTE_SPEAKER = 0x00000008; /** * Direct the audio stream through the device's earpiece or wired headset if one is * connected. */ - public static int ROUTE_WIRED_OR_EARPIECE = ROUTE_EARPIECE | ROUTE_WIRED_HEADSET; + public static final int ROUTE_WIRED_OR_EARPIECE = ROUTE_EARPIECE | ROUTE_WIRED_HEADSET; /** Bit mask of all possible audio routes. */ - public static 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; /** True if the call is muted, false otherwise. */ |