From 76af8945db9001aec63e6645a814d70d567f5729 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 21 Nov 2013 13:26:49 -0800 Subject: Remove use of SystemProperties Remove private reference to SystemProperties, needed for Verizon requirements (per team email discussion) Bug: 6948882 Change-Id: Idc826e4a93609799e3c741d36fca5124abbc5bb9 --- src/com/android/dialer/dialpad/DialpadFragment.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/com/android') diff --git a/src/com/android/dialer/dialpad/DialpadFragment.java b/src/com/android/dialer/dialpad/DialpadFragment.java index 00b8281a7..72214dc1c 100644 --- a/src/com/android/dialer/dialpad/DialpadFragment.java +++ b/src/com/android/dialer/dialpad/DialpadFragment.java @@ -35,7 +35,6 @@ import android.net.Uri; import android.os.Bundle; import android.os.RemoteException; import android.os.ServiceManager; -import android.os.SystemProperties; import android.provider.ContactsContract.Contacts; import android.provider.Contacts.People; import android.provider.Contacts.Phones; @@ -1169,8 +1168,7 @@ public class DialpadFragment extends Fragment // TODO: clean it up. if (number != null && !TextUtils.isEmpty(mProhibitedPhoneNumberRegexp) - && number.matches(mProhibitedPhoneNumberRegexp) - && (SystemProperties.getInt("persist.radio.otaspdial", 0) != 1)) { + && number.matches(mProhibitedPhoneNumberRegexp)) { Log.i(TAG, "The phone number is prohibited explicitly by a rule."); if (getActivity() != null) { DialogFragment dialogFragment = ErrorDialogFragment.newInstance( -- cgit v1.2.3