Loading Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_JAVA_LIBRARIES := telephony-common LOCAL_STATIC_JAVA_LIBRARIES := \ com.android.phone.common \ com.android.vcard \ Loading src/com/android/contacts/SpecialCharSequenceMgr.java +2 −2 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.contacts; import com.android.internal.telephony.ITelephony; import com.android.internal.telephony.TelephonyCapabilities; import com.android.internal.telephony.TelephonyIntents; import android.app.AlertDialog; import android.app.KeyguardManager; Loading @@ -32,7 +33,6 @@ import android.net.Uri; import android.os.Looper; import android.os.RemoteException; import android.os.ServiceManager; import android.provider.Telephony.Intents; import android.telephony.PhoneNumberUtils; import android.telephony.TelephonyManager; import android.util.Log; Loading Loading @@ -131,7 +131,7 @@ public class SpecialCharSequenceMgr { // Secret codes are in the form *#*#<code>#*#* int len = input.length(); if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) { Intent intent = new Intent(Intents.SECRET_CODE_ACTION, Intent intent = new Intent(TelephonyIntents.SECRET_CODE_ACTION, Uri.parse("android_secret_code://" + input.substring(4, len - 4))); context.sendBroadcast(intent); return true; Loading Loading
Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,7 @@ LOCAL_MODULE_TAGS := optional LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_JAVA_LIBRARIES := telephony-common LOCAL_STATIC_JAVA_LIBRARIES := \ com.android.phone.common \ com.android.vcard \ Loading
src/com/android/contacts/SpecialCharSequenceMgr.java +2 −2 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.contacts; import com.android.internal.telephony.ITelephony; import com.android.internal.telephony.TelephonyCapabilities; import com.android.internal.telephony.TelephonyIntents; import android.app.AlertDialog; import android.app.KeyguardManager; Loading @@ -32,7 +33,6 @@ import android.net.Uri; import android.os.Looper; import android.os.RemoteException; import android.os.ServiceManager; import android.provider.Telephony.Intents; import android.telephony.PhoneNumberUtils; import android.telephony.TelephonyManager; import android.util.Log; Loading Loading @@ -131,7 +131,7 @@ public class SpecialCharSequenceMgr { // Secret codes are in the form *#*#<code>#*#* int len = input.length(); if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) { Intent intent = new Intent(Intents.SECRET_CODE_ACTION, Intent intent = new Intent(TelephonyIntents.SECRET_CODE_ACTION, Uri.parse("android_secret_code://" + input.substring(4, len - 4))); context.sendBroadcast(intent); return true; Loading