summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/am/AppNotRespondingDialog.java
diff options
context:
space:
mode:
authorJacek Surazski <jaceks@google.com>2010-01-27 16:37:21 -0800
committerJacek Surazski <jaceks@google.com>2010-01-27 16:37:21 -0800
commit41a9fd55ac0f50afb3d70b1ba0786dbb316eebce (patch)
tree73ab0a72e30b713409942fe32c9eca796023b8ec /services/java/com/android/server/am/AppNotRespondingDialog.java
parent3ae6162d187a7166030263f8e9534aac65f3ae47 (diff)
downloadframeworks_base-41a9fd55ac0f50afb3d70b1ba0786dbb316eebce.zip
frameworks_base-41a9fd55ac0f50afb3d70b1ba0786dbb316eebce.tar.gz
frameworks_base-41a9fd55ac0f50afb3d70b1ba0786dbb316eebce.tar.bz2
timestamp field in ApplicationErrorReport was not getting intitialized on ANRs
Diffstat (limited to 'services/java/com/android/server/am/AppNotRespondingDialog.java')
-rw-r--r--services/java/com/android/server/am/AppNotRespondingDialog.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/AppNotRespondingDialog.java b/services/java/com/android/server/am/AppNotRespondingDialog.java
index 17f3467..57c75e0 100644
--- a/services/java/com/android/server/am/AppNotRespondingDialog.java
+++ b/services/java/com/android/server/am/AppNotRespondingDialog.java
@@ -113,7 +113,8 @@ class AppNotRespondingDialog extends BaseErrorDialog {
ProcessRecord app = mProc;
if (msg.what == WAIT_AND_REPORT) {
- appErrorIntent = mService.createAppErrorIntentLocked(app, 0, null);
+ appErrorIntent = mService.createAppErrorIntentLocked(app,
+ System.currentTimeMillis(), null);
}
app.notResponding = false;