How to inspect all alarms defined in the AlarmManager on the system?

痞子三分冷 提交于 2019-12-09 06:55:08

问题


I suspect there are applications on my Android system that use the AlarmManager way too agressively (eg. exact repeating, instead of inexact repeating, etc.). Is there a way to inspect all alarms set in the AlarmManager on the system?


回答1:


I think you get alarms in the output of adb shell dumpsys, though the information may be a bit difficult to decipher.



来源:https://stackoverflow.com/questions/5003329/how-to-inspect-all-alarms-defined-in-the-alarmmanager-on-the-system

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!