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

Skip to content
Commit abbbf058 authored by Victor Chang's avatar Victor Chang
Browse files

Fix Dialer crash loop for caller id in personal contact directory

The bug is dialer queries CP2 for alternative name by lookup key of personal directory
CP2 throws IllegalArgumentException as the lookup key is not found locally

2 fixes are included to avoid this happening
1. slient IllegalArgumentException since alternative name is not very important to crash dialer.
  (It's a fix by reverting some changes in ag/880910)
2. Check directory id before querying CP2

either one should fix this bug. Include both to make sure that it's not crashed.
Unit test added.

Bug:27905000
Change-Id: Ib8eab5f718a168fcec2785c3101e96bb91521d40
parent 1d764e39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment