Handle KEYCODE_SEARCH
This commit is contained in:
parent
b9f0d2db88
commit
94b7566881
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2012 Christopher Eby <kreed@kreed.org>
|
* Copyright (C) 2012 Christopher Eby <kreed@kreed.org>
|
||||||
* Copyright (C) 2015 Adrian Ulrich <adrian@blinkenlights.ch>
|
* Copyright (C) 2015-2017 Adrian Ulrich <adrian@blinkenlights.ch>
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@ -316,6 +316,9 @@ public class LibraryActivity
|
|||||||
// We intercept these to avoid showing the activity-default menu
|
// We intercept these to avoid showing the activity-default menu
|
||||||
mBottomBarControls.openMenu();
|
mBottomBarControls.openMenu();
|
||||||
break;
|
break;
|
||||||
|
case KeyEvent.KEYCODE_SEARCH:
|
||||||
|
mBottomBarControls.showSearch(true);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user