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

Commit 80dbb98e authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

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

* commit '37f14289':
  DO NOT MERGE Add null check in ContactInfoHelper.isBusiness
parents 34c0a6d4 37f14289
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);
    }
}