Dialer: fix NPE

Change-Id: I56351464dfc32ada3ae21c0971d6a70044714545