Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
从 API 23 开始,您可以将“允许偷看”开关切换到关闭位置——不再接收该应用程序的提醒通知。
设置 > 应用程序 > “选择应用程序” > 通知。
有没有办法在代码中检测到这一点?