Add more apps into presets, fix manage apps screen not visible sometimes
This commit is contained in:
parent
ffe87884f6
commit
4602398073
3 changed files with 7 additions and 7 deletions
|
|
@ -175,14 +175,8 @@ abstract class AppSelectFragment : Fragment(R.layout.fragment_app_select) {
|
|||
}
|
||||
}
|
||||
|
||||
val atLeastEntryCount: Int get() {
|
||||
if (!search.isBlank()) return 0
|
||||
|
||||
return if (fragmentType < 2) 1 else 2
|
||||
}
|
||||
|
||||
private fun checkIfEmpty() {
|
||||
val emptyViewVisible = recyclerView.adapter!!.itemCount < atLeastEntryCount
|
||||
val emptyViewVisible = recyclerView.adapter!!.itemCount < 1
|
||||
emptyView.visibility = if (emptyViewVisible) View.VISIBLE else View.GONE
|
||||
if (emptyViewVisible) {
|
||||
emptyView.findViewById<TextView>(R.id.list_empty_text).text = getString(
|
||||
|
|
|
|||
|
|
@ -33,6 +33,11 @@ class RootAppsPreset() : BasePreset("root_apps") {
|
|||
"com.byyoung.setting",
|
||||
"web1n.stopapp",
|
||||
"org.adaway",
|
||||
"com.mrsep.ttlchanger",
|
||||
"mattecarra.accapp",
|
||||
"io.github.saeeddev94.pixelnr",
|
||||
"com.js.nowakelock",
|
||||
"com.aistra.hail",
|
||||
|
||||
// Scene's "Core Edition" cannot be detected in the Xposed preset
|
||||
"com.omarea.vtools",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ class SuspiciousAppsPreset : BasePreset("sus_apps") {
|
|||
"com.speedsoftware.rootexplorer",
|
||||
"me.zhanghai.android.files",
|
||||
"com.lonelycatgames.Xplore",
|
||||
"org.fossify.filemanager",
|
||||
)
|
||||
|
||||
val libNames = arrayOf(
|
||||
|
|
|
|||
Loading…
Reference in a new issue