android源码内置语音信箱*86

--- a/alps/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaPhone.java
+++ b/alps/frameworks/opt/telephony/src/java/com/android/internal/telephony/GsmCdmaPhone.java
@@ -1791,7 +1791,13 @@ public class GsmCdmaPhone extends Phone {
             number = (r != null) ? r.getVoiceMailNumber() : "";
             if (TextUtils.isEmpty(number)) {
                 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());
-                number = sp.getString(VM_NUMBER + getPhoneId(), null);
+                               // add lzl 20170221
+                               if (SystemProperties.get("ro.kcm_telcel_support").equals("1")) {
+                                       number = sp.getString(VM_NUMBER + getPhoneId(), "*86");
+                               } else {
+                                       number = sp.getString(VM_NUMBER + getPhoneId(), null);
+                               }
+                               // add end
             }
         } else {
             SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(getContext());

你可能感兴趣的:(MTK随记)