dialer: search: Don't attempt to get resources on a detached fragment
During the activity lifecycle, the user might have used the search fragment but then place the call via other means and in that case the search fragment will be detached. It does, however, still try to set itself up and in the process attempts to obtain context-bound items such as Resources and the Dialer app crashes. Change-Id: Id3b9f376e282f4f8a04960eb3c4a5eac0d2ea9ad Ticket: FEIJAO-1173
Loading