📅  最后修改于: 2022-03-11 14:56:34.834000             🧑  作者: Mango
List apps = getPackageManager().getInstalledApplications(0);
for (int i=0; i < apps.size(); i++)
{
if ((apps.get(i).flags & ApplicationInfo.FLAG_SYSTEM) == 1)
{
//System app
}
}