From b1ddbb7e6fa0268ce5b5b1621df96bfb8fab6276 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 12 Feb 2018 18:15:15 +0100 Subject: [PATCH] update commons to 3.11.6 --- app/build.gradle | 2 +- .../simplemobiletools/filemanager/activities/MainActivity.kt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index efa3dfae..494396bc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -45,7 +45,7 @@ ext { } dependencies { - implementation 'com.simplemobiletools:commons:3.9.4' + implementation 'com.simplemobiletools:commons:3.11.6' implementation files('../libs/RootTools.jar') diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt index f8e280eb..a890ee59 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt @@ -75,9 +75,7 @@ class MainActivity : SimpleActivity() { override fun onStop() { super.onStop() - if (searchMenuItem != null) { - MenuItemCompat.collapseActionView(searchMenuItem) - } + searchMenuItem?.collapseActionView() } override fun onDestroy() {