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

Commit 6599bec1 authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am 9215d9bf: am e6a52dbe: am 37f14289: am 6567a894: DO NOT MERGE Add null...

am 9215d9bf: am e6a52dbe: am 37f14289: am 6567a894: DO NOT MERGE Add null check in ContactInfoHelper.isBusiness

* commit '9215d9bf':
  DO NOT MERGE Add null check in ContactInfoHelper.isBusiness
parents 7de0b82a 9215d9bf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -282,6 +282,7 @@ public class ContactInfoHelper {
     *        {@link #mCachedNumberLookupService}.
     */
    public boolean isBusiness(int sourceType) {
        return mCachedNumberLookupService.isBusiness(sourceType);
        return mCachedNumberLookupService != null
                && mCachedNumberLookupService.isBusiness(sourceType);
    }
}