wossoneri
4/8/2019 - 3:05 AM

列表过滤

String[] forbiddenPackages = new String[] {
    "com.ximalaya.ting.android",
    "fm.qingting.qtradio",
    "com.tencent.qqmusiccar"
};

if (Arrays.asList(forbiddenPackages).contains(p.packageName)) {
    continue;
}