注意区分通知和广播
在通知服务中
frameworks/base/services/core/java/com/android/server/notification/NotificationManagerService.java
查找方法
mHandler.post(new EnqueueNotificationRunnable(userId, r));//这个是发送通知的线程
屏蔽掉该方法就不会再有通知提示了。
注意区分通知和广播
在通知服务中
frameworks/base/services/core/java/com/android/server/notification/NotificationManagerService.java
查找方法
mHandler.post(new EnqueueNotificationRunnable(userId, r));//这个是发送通知的线程
屏蔽掉该方法就不会再有通知提示了。