[android] Process hardware search button.

This commit is contained in:
vng 2012-07-10 00:48:48 -07:00 committed by Alex Zolotarev
parent e0c3f69d4e
commit 9306f074f1

View file

@ -284,6 +284,13 @@ public class MWMActivity extends NvEventQueueActivity implements LocationService
}
}
@Override
public boolean onSearchRequested()
{
onSearchClicked(null);
return false;
}
private void runDownloadActivity()
{
startActivity(new Intent(this, DownloadUI.class));
@ -408,7 +415,8 @@ public class MWMActivity extends NvEventQueueActivity implements LocationService
{
onAboutDialogClicked();
return true;
} else
}
else
{
return super.onOptionsItemSelected(item);
}