Loading java/com/android/dialer/phonenumberutil/PhoneNumberHelper.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -202,6 +202,9 @@ public class PhoneNumberHelper { if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { return false; return false; } } if (presentation == CallLog.Calls.PRESENTATION_UNAVAILABLE) { return false; } if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { return false; return false; } } Loading java/com/android/dialer/simulator/impl/SimulatorDialogFragment.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -27,7 +27,7 @@ import android.widget.EditText; public final class SimulatorDialogFragment extends DialogFragment { public final class SimulatorDialogFragment extends DialogFragment { private final String[] callerIdPresentationItems = { private final String[] callerIdPresentationItems = { "ALLOWED", "PAYPHONE", "RESTRICTED", "UNKNOWN" "ALLOWED", "PAYPHONE", "RESTRICTED", "UNKNOWN", "UNAVAILABLE" }; }; private int callerIdPresentationChoice = 1; private int callerIdPresentationChoice = 1; Loading Loading @@ -68,6 +68,9 @@ public final class SimulatorDialogFragment extends DialogFragment { case 3: case 3: callerIdPresentationChoice = TelecomManager.PRESENTATION_UNKNOWN; callerIdPresentationChoice = TelecomManager.PRESENTATION_UNKNOWN; break; break; case 4: callerIdPresentationChoice = TelecomManager.PRESENTATION_UNAVAILABLE; break; default: default: throw new IllegalStateException("Unknown presentation choice selected!"); throw new IllegalStateException("Unknown presentation choice selected!"); } } Loading Loading
java/com/android/dialer/phonenumberutil/PhoneNumberHelper.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -202,6 +202,9 @@ public class PhoneNumberHelper { if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { if (presentation == CallLog.Calls.PRESENTATION_RESTRICTED) { return false; return false; } } if (presentation == CallLog.Calls.PRESENTATION_UNAVAILABLE) { return false; } if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { if (presentation == CallLog.Calls.PRESENTATION_PAYPHONE) { return false; return false; } } Loading
java/com/android/dialer/simulator/impl/SimulatorDialogFragment.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -27,7 +27,7 @@ import android.widget.EditText; public final class SimulatorDialogFragment extends DialogFragment { public final class SimulatorDialogFragment extends DialogFragment { private final String[] callerIdPresentationItems = { private final String[] callerIdPresentationItems = { "ALLOWED", "PAYPHONE", "RESTRICTED", "UNKNOWN" "ALLOWED", "PAYPHONE", "RESTRICTED", "UNKNOWN", "UNAVAILABLE" }; }; private int callerIdPresentationChoice = 1; private int callerIdPresentationChoice = 1; Loading Loading @@ -68,6 +68,9 @@ public final class SimulatorDialogFragment extends DialogFragment { case 3: case 3: callerIdPresentationChoice = TelecomManager.PRESENTATION_UNKNOWN; callerIdPresentationChoice = TelecomManager.PRESENTATION_UNKNOWN; break; break; case 4: callerIdPresentationChoice = TelecomManager.PRESENTATION_UNAVAILABLE; break; default: default: throw new IllegalStateException("Unknown presentation choice selected!"); throw new IllegalStateException("Unknown presentation choice selected!"); } } Loading