diff options
Diffstat (limited to 'telecomm/java/android')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index 91566f8..6055211 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -1067,6 +1067,9 @@ public abstract class Connection extends Conferenceable { @SystemApi @Deprecated public final AudioState getAudioState() { + if (mCallAudioState == null) { + return null; + } return new AudioState(mCallAudioState); } |