fix null pointer exception

MIUI-24836

Change-Id: I0e78d6936a3b8ac64b9f8bf836b19bca59dd4d7a
Signed-off-by: mochangming <mochangming@xiaomi.com>
miui hook for SearchView

N/A

Change-Id: I2f478af5eba33ee3f56d38ef9f51f059a3eb02b7
Signed-off-by: mochangming <mochangming@xiaomi.com>