具体请参见android源码:ProcessErrorsTest.java


private String checkForProcessErrors() throws Exception {

        List errList;
        errList = mActivityManager.getProcessesInErrorState();


        // note: this contains information about each process that is currently in an error
        // condition.  if the list is empty (null) then "we're good".


        // if the list is non-empty, then it's useful to report the contents of the list
        final String reportMsg = reportListContents(errList);
        return reportMsg;
    }

更多相关文章

  1. Android抓屏源码
  2. 源码网站推荐
  3. android 源码的一些修改定制方案
  4. 禁止状态栏下拉
  5. 第一代Android壳源码--某某公司早期壳代码加固原理分析
  6. Android代码实现飞行模式的打开
  7. android仿苹果Iphone桌面源码
  8. View的invalidate()方法的源码分析
  9. 开源分享!2021年最新 Android(安卓)资料汇总,从小白到大佬的进阶之

随机推荐

  1. Android React Native的使用细节问题
  2. Android 驱动之旅 第四章:在Android 系统
  3. Android(安卓)音视频深入 四 Android原生
  4. Android游戏可能遇到的3个问题及解决方案
  5. Android(安卓)三言两语
  6. Android交互体验必知:功能按键事件
  7. 一种绕过Android P对非SDK接口限制的简单
  8. Android webview注入自己的js代码(js传入f
  9. Android(安卓)MVP 模式:简单易懂的介绍方
  10. 第二部分:开发简要指南-第五章 支持不同的