OSDN Git Service

Stop ANR dialogs from appearing when ActivityManager dialogs should not be shown
authorJustin Koh <justinkoh@google.com>
Thu, 29 Mar 2012 22:11:44 +0000 (15:11 -0700)
committerJustin Koh <justinkoh@google.com>
Thu, 29 Mar 2012 22:37:11 +0000 (15:37 -0700)
commitbc52ca28148a9a8f2935c380d9e97d56a75be416
treed108eb324db390897b736225dad2140f8f43eb6f
parentc7e56eff1b48b0b6e871bdd12027b6b3e80345de
Stop ANR dialogs from appearing when ActivityManager dialogs should not be shown

Stop ANR dialogs from appearing on devices where the ActivityManager dialogs
should not be shown. Instead, kill the process. This is preferable because the
user can't actually do anything on the device.

TESTED = runs on device with that config, simulated ANR using test app.

Change-Id: I6267000afd12ef929f0c625220184c6ab0139552
services/java/com/android/server/am/ActivityManagerService.java