如何检查系统上的AlarmManager定义的所有报警? [英] How to inspect all alarms defined in the AlarmManager on the system?

查看:116
本文介绍了如何检查系统上的AlarmManager定义的所有报警?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怀疑是使用AlarmManager太agressively在我的Andr​​oid系统的应用程序(如:精确的重复,而不是不精确的,重复的,等等)。有没有一种方法来检查系统中的AlarmManager设置的所有报警?

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?

推荐答案

我想你报警的亚行外壳dumpsys输出,虽然信息可以是位难以破解。

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

这篇关于如何检查系统上的AlarmManager定义的所有报警?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆