安卓系统在通知栏拦截特定包名的通知

时间:2025-02-09 09:20:43

1、在中

在方法

private void updateNotificationIcons() {
    
// Filter out notifications with low scores.
        for (int i = 0; i < N; i++) {
            Entry ent = (i);
//            (TAG, "()="+());
            if("com.****.aa".equals(())){//可以在这里修改
            	continue;
            }
            if (() < HIDE_ICONS_BELOW_SCORE &&
                    !()) {
                continue;
            }
            ();
        }

}