From d0225ee63f305ef59e17f8ad0dc16b2ef5e85af0 Mon Sep 17 00:00:00 2001 From: Dan Egnor Date: Wed, 9 Dec 2009 16:30:23 -0800 Subject: [PATCH] Remove the old Dev Tools exception browser (since it relies on now eliminated checkin database crash storage functionality). Add a new test app to Dev Tools, "Bad Behavior", which has buttons to crash and generate an ANR on command. Update the Monkey to follow changed APIs. --- apps/Development/AndroidManifest.xml | 33 ++-- apps/Development/res/layout/bad_behavior.xml | 37 ++++ apps/Development/res/values/strings.xml | 5 + .../development/BadBehaviorActivity.java | 63 +++++++ .../android/development/ExceptionBrowser.java | 171 ------------------ .../android/development/StacktraceViewer.java | 50 ----- .../com/android/commands/monkey/Monkey.java | 28 +-- 7 files changed, 131 insertions(+), 256 deletions(-) create mode 100644 apps/Development/res/layout/bad_behavior.xml create mode 100644 apps/Development/src/com/android/development/BadBehaviorActivity.java delete mode 100644 apps/Development/src/com/android/development/ExceptionBrowser.java delete mode 100644 apps/Development/src/com/android/development/StacktraceViewer.java diff --git a/apps/Development/AndroidManifest.xml b/apps/Development/AndroidManifest.xml index 31427a59a..07a4213b3 100644 --- a/apps/Development/AndroidManifest.xml +++ b/apps/Development/AndroidManifest.xml @@ -58,13 +58,6 @@ - - - - - - - @@ -128,44 +121,50 @@ - + - + - + - + - + - - + + - + + + + + + + diff --git a/apps/Development/res/layout/bad_behavior.xml b/apps/Development/res/layout/bad_behavior.xml new file mode 100644 index 000000000..62a724502 --- /dev/null +++ b/apps/Development/res/layout/bad_behavior.xml @@ -0,0 +1,37 @@ + + + + + +