From aba51fcaf5e045793a207bb15485b11b7ff4d7cd Mon Sep 17 00:00:00 2001 From: Radhika Agrawal Date: Wed, 18 Mar 2020 23:21:09 +0000 Subject: [PATCH] Revert "API review changes Test: make Bug: b/143307441" Revert "API review comments Test: make Bug: b/143307441" Revert submission 10738364-CallQualityAPI Reason for revert: rvc build breakage Reverted Changes: I51b4d5699:API review comments Test: make Bug: b/143307441 I53ebc76da:API review changes Test: make Bug: b/143307441 Change-Id: I62b7a516a4c5f3a950906c17700ba13b5906ba6a --- api/system-current.txt | 4 ++-- api/test-current.txt | 4 ++-- telephony/java/android/telephony/CallQuality.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index fcb8b5a8a9206..ab3bcc129d4c4 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -10754,8 +10754,8 @@ package android.telephony { method public int getNumRtpPacketsTransmitted(); method public int getNumRtpPacketsTransmittedLost(); method public int getUplinkCallQualityLevel(); - method public boolean isIncomingSilenceDetectedAtCallSetup(); - method public boolean isOutgoingSilenceDetectedAtCallSetup(); + method public boolean isIncomingSilenceDetected(); + method public boolean isOutgoingSilenceDetected(); method public boolean isRtpInactivityDetected(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_QUALITY_BAD = 4; // 0x4 diff --git a/api/test-current.txt b/api/test-current.txt index 5d342f706bbdf..a1a652fcea9fa 100644 --- a/api/test-current.txt +++ b/api/test-current.txt @@ -3628,8 +3628,8 @@ package android.telephony { method public int getNumRtpPacketsTransmitted(); method public int getNumRtpPacketsTransmittedLost(); method public int getUplinkCallQualityLevel(); - method public boolean isIncomingSilenceDetectedAtCallSetup(); - method public boolean isOutgoingSilenceDetectedAtCallSetup(); + method public boolean isIncomingSilenceDetected(); + method public boolean isOutgoingSilenceDetected(); method public boolean isRtpInactivityDetected(); method public void writeToParcel(android.os.Parcel, int); field public static final int CALL_QUALITY_BAD = 4; // 0x4 diff --git a/telephony/java/android/telephony/CallQuality.java b/telephony/java/android/telephony/CallQuality.java index 1c82e96a01839..428a515844e66 100644 --- a/telephony/java/android/telephony/CallQuality.java +++ b/telephony/java/android/telephony/CallQuality.java @@ -287,7 +287,7 @@ public final class CallQuality implements Parcelable { * Returns true if only silence rtp packets are received for a duration of 20 seconds starting * at call setup */ - public boolean isIncomingSilenceDetectedAtCallSetup() { + public boolean isIncomingSilenceDetected() { return mRxSilenceDetected; } @@ -295,7 +295,7 @@ public final class CallQuality implements Parcelable { * Returns true if only silence rtp packets are sent for a duration of 20 seconds starting at * call setup */ - public boolean isOutgoingSilenceDetectedAtCallSetup() { + public boolean isOutgoingSilenceDetected() { return mTxSilenceDetected; }