OSDN Git Service

timestamp field in ApplicationErrorReport was not getting intitialized on ANRs
authorJacek Surazski <jaceks@google.com>
Thu, 28 Jan 2010 00:37:21 +0000 (16:37 -0800)
committerJacek Surazski <jaceks@google.com>
Thu, 28 Jan 2010 00:37:21 +0000 (16:37 -0800)
services/java/com/android/server/am/AppNotRespondingDialog.java

index 17f3467..57c75e0 100644 (file)
@@ -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;