Improve - Installed Apps, Updates & Blaclists

This commit is contained in:
Rahul Patel
2024-06-29 07:02:57 +05:30
committed by Aayush Gupta
parent a43779ed79
commit a2fef6a897
8 changed files with 146 additions and 138 deletions

View File

@@ -4,7 +4,7 @@ import android.content.pm.PackageInfo
import android.os.Process
fun PackageInfo.isApp(): Boolean {
if (this.applicationInfo == null) return false
if (this.applicationInfo == null || this.packageName.isEmpty()) return false
return when {
isQAndAbove() -> {