summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenergy Meenan Ravuri <bravuri@codeaurora.org>2015-12-02 12:29:07 +0530
committerSteve Kondik <steve@cyngn.com>2016-05-20 23:09:14 -0700
commit8d3421dd744b0fff95a53c08cac4c33718bb98fc (patch)
tree3d29115da6b60684ef90356493f3da26373ec1ad
parenta85e38baae536868d447108cac64aa5ec2e5851e (diff)
downloadpackages_apps_InCallUI-8d3421dd744b0fff95a53c08cac4c33718bb98fc.tar.gz
packages_apps_InCallUI-8d3421dd744b0fff95a53c08cac4c33718bb98fc.tar.bz2
packages_apps_InCallUI-8d3421dd744b0fff95a53c08cac4c33718bb98fc.zip
IMS: Remove the methods with dummy implementation
Since the base implementation is added for the listener, the methods with dummy implementation can be removed. Change-Id: Iac9e75c53b362593c8cfd4e46ca0933566421aed CRs-Fixed: 901766
-rw-r--r--src/com/android/incallui/AnswerPresenter.java28
1 files changed, 5 insertions, 23 deletions
diff --git a/src/com/android/incallui/AnswerPresenter.java b/src/com/android/incallui/AnswerPresenter.java
index 28262058..020d075d 100644
--- a/src/com/android/incallui/AnswerPresenter.java
+++ b/src/com/android/incallui/AnswerPresenter.java
@@ -32,6 +32,7 @@ import com.android.internal.telephony.util.BlacklistUtils;
import com.cyanogen.lookup.phonenumber.provider.LookupProviderImpl;
import org.codeaurora.ims.qtiims.IQtiImsInterface;
import org.codeaurora.ims.qtiims.IQtiImsInterfaceListener;
+import org.codeaurora.ims.qtiims.QtiImsInterfaceListenerBaseImpl;
import org.codeaurora.ims.qtiims.QtiImsInterfaceUtils;
import org.codeaurora.ims.qtiims.QtiViceInfo;
import org.codeaurora.QtiVideoCallConstants;
@@ -97,31 +98,12 @@ public class AnswerPresenter extends Presenter<AnswerPresenter.AnswerUi>
}
};
- /* IQtiImsInterfaceListener instance to handle call deflection response */
- private IQtiImsInterfaceListener imsInterfaceListener = new IQtiImsInterfaceListener.Stub() {
- public void onSetCallForwardUncondTimer(int status) {
- /* Not implemented, dummy implementation to avoid compilation errors */
- }
-
- public void onGetCallForwardUncondTimer(int startHour, int endHour,
- int startMinute, int endMinute, int reason, int status,
- String number, int serviceClass) {
- /* Not implemented, dummy implementation to avoid compilation errors */
- }
-
- public void onUTReqFailed(int errCode, String errString) {
- /* Not implemented, dummy implementation to avoid compilation errors */
- }
-
- public void onGetPacketCount(int status, long packetCount) {
- /* Not implemented, dummy implementation to avoid compilation errors */
- }
-
- public void onGetPacketErrorCount(int status, long packetErrorCount) {
- /* Not implemented, dummy implementation to avoid compilation errors */
- }
+ /* QtiImsInterfaceListenerBaseImpl instance to handle call deflection response */
+ private QtiImsInterfaceListenerBaseImpl imsInterfaceListener =
+ new QtiImsInterfaceListenerBaseImpl() {
/* Handles call deflect response */
+ @Override
public void receiveCallDeflectResponse(int result) {
Log.w(this, "receiveCallDeflectResponse: " + result);
}