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

Commit 005183ff authored by Yorke Lee's avatar Yorke Lee
Browse files

Don't allow calls to undialable numbers

Bug: 10842865
Change-Id: Id48ffd5cb824f5dc1c84bfe938560a8edecb261d
parent 5b2e2109
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -516,7 +516,7 @@ public class CallLogAdapter extends GroupingListAdapter
            views.primaryActionView.setTag(
                    IntentProvider.getCallDetailIntentProvider(
                            getCursor(), c.getPosition(), c.getLong(CallLogQuery.ID), count));
        } else {
        } else if (PhoneNumberUtilsWrapper.canPlaceCallsTo(number, numberPresentation)) {
            // Sets the primary action to call the number.
            views.primaryActionView.setTag(IntentProvider.getReturnCallIntentProvider(number));
        }