summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/dialpad/DialpadFragment.java
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-11-21 13:26:49 -0800
committerYorke Lee <yorkelee@google.com>2013-11-21 13:26:49 -0800
commit76af8945db9001aec63e6645a814d70d567f5729 (patch)
treee1f33d3bffdedcff0147565b681abe6312228cb8 /src/com/android/dialer/dialpad/DialpadFragment.java
parent3ff9c116afdda86f9af4e21a3dcc744a3231e1d0 (diff)
Remove use of SystemProperties
Remove private reference to SystemProperties, needed for Verizon requirements (per team email discussion) Bug: 6948882 Change-Id: Idc826e4a93609799e3c741d36fca5124abbc5bb9
Diffstat (limited to 'src/com/android/dialer/dialpad/DialpadFragment.java')
-rw-r--r--src/com/android/dialer/dialpad/DialpadFragment.java4
1 files changed, 1 insertions, 3 deletions
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(