| commit | 1da57d88ae2bbc758f697523249be6227d22f151 | [log] [tgz] |
|---|---|---|
| author | Wenyi Wang <wenyiw@google.com> | Tue Nov 15 15:01:43 2016 -0800 |
| committer | Wenyi Wang <wenyiw@google.com> | Tue Nov 15 15:01:43 2016 -0800 |
| tree | 04a934b249d43c89d6bc687ac3716d2c8a6f2231 | |
| parent | b9065ddb28a2040cabda251891be2062b5260217 [diff] |
Check if menu item is null before adding assistant new badge
It crashes because there's no assistant in AOSP Contacts.
Bug: 32915307
Test: manual - verified that there's no crash in opening AOSP Contacts
and that the new badge works well on GoogleContacts.
Change-Id: I3cc14da0c9e50fe0b2f4840645ded8c2563fbc65