I am getting a list of ApplicationInfo Objects with packageManager.getInstalledApplications(0) and attempting to categorize them by whether or not they are a sy
ApplicationInfo
if (!packageInfo.sourceDir.toLowerCase().startsWith("/system/"))