diff --git a/.idea/other.xml b/.idea/other.xml new file mode 100644 index 000000000..4604c4460 --- /dev/null +++ b/.idea/other.xml @@ -0,0 +1,252 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/assets/html/changelogs.html b/app/src/main/assets/html/changelogs.html index 7e52cf5c9..654687c8c 100644 --- a/app/src/main/assets/html/changelogs.html +++ b/app/src/main/assets/html/changelogs.html @@ -23,7 +23,9 @@

User Interface

  • Collapsible menu for Search to allow for adding more icons and still preserve space.
  • Added filter button and relocated refresh button in Search.
  • -
  • Added keyword database for Android Permissions and Tracker Signatures for Deep Search.
  • +
  • Added keyword database for Android Permissions and Tracker Signatures for Deep + Search. +
  • Added information whether app supports cloud backup or not in Information panel.
  • Added custom layer for predictive back gesture animations.
    @@ -48,7 +50,10 @@

    Improvements

    Behavior

    diff --git a/app/src/main/java/app/simple/inure/viewmodels/panels/SearchViewModel.kt b/app/src/main/java/app/simple/inure/viewmodels/panels/SearchViewModel.kt index a89d7c116..4bebccfb2 100644 --- a/app/src/main/java/app/simple/inure/viewmodels/panels/SearchViewModel.kt +++ b/app/src/main/java/app/simple/inure/viewmodels/panels/SearchViewModel.kt @@ -181,13 +181,13 @@ class SearchViewModel(application: Application) : PackageUtilsViewModel(applicat } private fun loadDataForDeepSearch(list: ArrayList) { - list.parallelStream().forEach { - try { + list.forEach { + kotlin.runCatching { val pkg = packageManager.getPackageInfo(it.packageName, FLAGS) pkg.applicationInfo.name = it.applicationInfo.name deepPackageInfos.addIfNotExists(pkg, comparator = { a, b -> a?.packageName == b?.packageName }) - } catch (e: NameNotFoundException) { - Log.e(TAG, e.stackTraceToString()) + }.getOrElse { + Log.e(TAG, it.stackTraceToString()) } } }