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

Commit 9215d9bf authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

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

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