fix NPE in getSearchBox

    Bug: 3510741
    added null check

Change-Id: I256375b2168942f0b4b700912f2f2ae40ce90492
1 file changed