mirror of
https://github.com/whyorean/AuroraStore.git
synced 2026-06-13 10:14:42 -04:00
BlacklistViewModel: Don't filter for packages to be enabled again
getPackageInfoMap method already filters values based on PREFERENCE_UPDATES_EXTENDED preference. Doing this again here without any check results in loss of ability to blacklist disabled apps. Credits: https://gitlab.com/AuroraOSS/AuroraStore/-/merge_requests/205 Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
@@ -60,7 +60,6 @@ class BlacklistViewModel(application: Application) : BaseAndroidViewModel(applic
|
||||
it.packageName != null
|
||||
&& it.versionName != null
|
||||
&& it.applicationInfo != null
|
||||
&& it.applicationInfo.enabled
|
||||
}
|
||||
.forEach {
|
||||
val black = Black(it.packageName).apply {
|
||||
|
||||
Reference in New Issue
Block a user