diff options
author | Jacek Surazski <jaceks@google.com> | 2010-01-27 16:37:21 -0800 |
---|---|---|
committer | Jacek Surazski <jaceks@google.com> | 2010-01-27 16:37:21 -0800 |
commit | 41a9fd55ac0f50afb3d70b1ba0786dbb316eebce (patch) | |
tree | 73ab0a72e30b713409942fe32c9eca796023b8ec /services/java/com/android/server/am/AppNotRespondingDialog.java | |
parent | 3ae6162d187a7166030263f8e9534aac65f3ae47 (diff) | |
download | frameworks_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.java | 3 |
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; |