remove duplicate code
for KEYCODE_SEARCH

Change-Id: I3ff30acf137cc02e368df859868a31955a9bad29