Improve - Installed Apps, Updates & Blaclists
This commit is contained in:
committed by
Aayush Gupta
parent
a43779ed79
commit
a2fef6a897
@@ -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() -> {
|
||||
|
||||
Reference in New Issue
Block a user