Merge "Remove unnecessary condition" into sc-qpr1-dev
diff --git a/src/com/android/settings/sim/smartForwarding/DisableSmartForwardingTask.java b/src/com/android/settings/sim/smartForwarding/DisableSmartForwardingTask.java
index 45333ec..7826522 100644
--- a/src/com/android/settings/sim/smartForwarding/DisableSmartForwardingTask.java
+++ b/src/com/android/settings/sim/smartForwarding/DisableSmartForwardingTask.java
@@ -43,9 +43,8 @@
}
if (callForwardingInfo != null
- && callForwardingInfo[i] != null
- && callForwardingInfo[i].getTimeoutSeconds() > 0) {
- Log.d(TAG, "Restore call waiting to " + callForwardingInfo);
+ && callForwardingInfo[i] != null) {
+ Log.d(TAG, "Restore call forwarding to " + callForwardingInfo[i]);
tm.setCallForwarding(callForwardingInfo[i], null, null);
}
}