Loading core/java/com/android/internal/os/RuntimeInit.java +9 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.internal.os; import android.app.ActivityManagerNative; import android.app.ActivityThread; import android.app.ApplicationErrorReport; import android.os.Build; import android.os.Debug; Loading Loading @@ -69,7 +70,14 @@ public class RuntimeInit { if (mApplicationObject == null) { Slog.e(TAG, "*** FATAL EXCEPTION IN SYSTEM PROCESS: " + t.getName(), e); } else { Slog.e(TAG, "FATAL EXCEPTION: " + t.getName(), e); StringBuilder message = new StringBuilder(); message.append("FATAL EXCEPTION: ").append(t.getName()).append("\n"); final String processName = ActivityThread.currentProcessName(); if (processName != null) { message.append("Process: ").append(processName).append(", "); } message.append("PID: ").append(Process.myPid()); Slog.e(TAG, message.toString(), e); } // Bring up crash dialog, wait for it to be dismissed Loading Loading
core/java/com/android/internal/os/RuntimeInit.java +9 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ package com.android.internal.os; import android.app.ActivityManagerNative; import android.app.ActivityThread; import android.app.ApplicationErrorReport; import android.os.Build; import android.os.Debug; Loading Loading @@ -69,7 +70,14 @@ public class RuntimeInit { if (mApplicationObject == null) { Slog.e(TAG, "*** FATAL EXCEPTION IN SYSTEM PROCESS: " + t.getName(), e); } else { Slog.e(TAG, "FATAL EXCEPTION: " + t.getName(), e); StringBuilder message = new StringBuilder(); message.append("FATAL EXCEPTION: ").append(t.getName()).append("\n"); final String processName = ActivityThread.currentProcessName(); if (processName != null) { message.append("Process: ").append(processName).append(", "); } message.append("PID: ").append(Process.myPid()); Slog.e(TAG, message.toString(), e); } // Bring up crash dialog, wait for it to be dismissed Loading