OSDN Git Service

Added 'dumpsys activity lastanr'
authorWale Ogunwale <ogunwale@google.com>
Fri, 9 Jun 2017 22:20:29 +0000 (15:20 -0700)
committerWale Ogunwale <ogunwale@google.com>
Sat, 10 Jun 2017 00:17:07 +0000 (17:17 -0700)
commitf1285916c3ab259b216e5f3da3dba397c8e898b8
treefc5ce6adf632ec86fe28480283b4a1d1b2d87933
parent678477b38312771b41dd543e62db771eccca5fdf
Added 'dumpsys activity lastanr'

Allows for dumping the activity state during the last anr. This will
also be included in collected bug reports.

Bug: 38121026
Test: Cause an anr to occur and run 'adb shell dumpsys activity lastanr'
Change-Id: I1e4200f9e5cc16bfab98e5af31fc599cdd54cd11
core/java/android/app/ActivityManagerInternal.java
services/core/java/com/android/server/am/ActivityManagerService.java
services/core/java/com/android/server/wm/InputMonitor.java
services/core/java/com/android/server/wm/WindowManagerService.java