close search on stop
This commit is contained in:
parent
7e77d07fd7
commit
d4669d32db
1 changed files with 7 additions and 0 deletions
|
@ -75,6 +75,13 @@ class MainActivity : SimpleActivity() {
|
||||||
storeStateVariables()
|
storeStateVariables()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onStop() {
|
||||||
|
super.onStop()
|
||||||
|
if (searchMenuItem != null) {
|
||||||
|
MenuItemCompat.collapseActionView(searchMenuItem)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
override fun onDestroy() {
|
override fun onDestroy() {
|
||||||
super.onDestroy()
|
super.onDestroy()
|
||||||
config.temporarilyShowHidden = false
|
config.temporarilyShowHidden = false
|
||||||
|
|
Loading…
Reference in a new issue