Support visual voicemail legacy mode
Legacy mode is a mode that on the carrier side visual voicemail is still
activated, but on the client side all network operations are disabled.
SMSs are still monitored so a new message SYNC SMS will be translated
to show a message waiting indicator, like traditional voicemails.
This is for carriers that does not support VVM deactivation so voicemail
can continue to function without the data cost.
Bug: 29399579
Change-Id: I0b72d6e4740aca083401ef1ae3d33976aeaa1253
diff --git a/src/com/android/phone/PhoneUtils.java b/src/com/android/phone/PhoneUtils.java
index 4dd7d0b..9f70349 100644
--- a/src/com/android/phone/PhoneUtils.java
+++ b/src/com/android/phone/PhoneUtils.java
@@ -64,7 +64,6 @@
import com.android.internal.telephony.TelephonyProperties;
import com.android.internal.telephony.sip.SipPhone;
import com.android.phone.CallGatewayManager.RawGatewayInfo;
-import com.android.services.telephony.TelephonyConnectionService;
import java.util.Arrays;
import java.util.List;
@@ -2442,7 +2441,7 @@
return SubscriptionManager.INVALID_SUBSCRIPTION_ID;
}
- static Phone getPhoneForPhoneAccountHandle(PhoneAccountHandle handle) {
+ public static Phone getPhoneForPhoneAccountHandle(PhoneAccountHandle handle) {
if (handle != null && handle.getComponentName().equals(getPstnConnectionServiceName())) {
return getPhoneFromIccId(handle.getId());
}