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

Commit a8dab0a5 authored by Yorke Lee's avatar Yorke Lee
Browse files

Fix for private numbers in call shortcut being dialable

Call log views were being recycled and reusing the tagged intent
in the recycled view.

Bug: 10953465
Change-Id: Iff1d2276622bda05486efd092abac1a55b7441f1
parent 36df59e0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -534,6 +534,8 @@ public class CallLogAdapter extends GroupingListAdapter
        } else if (PhoneNumberUtilsWrapper.canPlaceCallsTo(number, numberPresentation)) {
            // Sets the primary action to call the number.
            views.primaryActionView.setTag(IntentProvider.getReturnCallIntentProvider(number));
        } else {
            views.primaryActionView.setTag(null);
        }

        // Store away the voicemail information so we can play it directly.