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

Commit 92ffc1f0 authored by Stephen Bird's avatar Stephen Bird
Browse files

NPE: ensure that ContactInfo is not null

This happens on an edge case where the user has
private numbers call them.

Attempting to select these entries results in a FC becuase
there is no number for the entry.

Ticket: CD-587
Change-Id: I0e6c75f5282a4519866e7648185e90e4664cfac1
parent bde990ed
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -96,10 +96,12 @@ public class CallStatsDetailActivity extends Activity implements

        @Override
        protected void onPostExecute(ContactInfo info) {
            if (info != null) {
                mData.updateFromInfo(info);
                updateData();
            }
        }
    }

    @Override
    protected void onCreate(Bundle icicle) {