Fix search crash

Trap NPEs thrown by CP2 query so faulty directory providers don't crash us.

Bug:12893832
Change-Id: Ie88aafb84b6d7129da02d6e0a4457ecfad5ca9b5
(cherry picked from commit ae961fff72fd6612ccad09c9aa63e5ebabd826ea)
1 file changed