Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d5063654 authored by Wink Saville's avatar Wink Saville Committed by Jean-Baptiste Queru
Browse files

Use telephony-common - DO NOT MERGE

Change-Id: I4a42ae6986f97be562e496b28c4a54e3f1a6d59b
parent f5260299
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 \
+2 −2
Original line number Diff line number Diff line
@@ -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;
@@ -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;
@@ -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;