Loading core/java/android/app/ApplicationErrorReport.java +8 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,11 @@ public class ApplicationErrorReport implements Parcelable { */ public long time; /** * Set if the app is on the system image. */ public boolean systemApp; /** * If this report is of type {@link #TYPE_CRASH}, contains an instance * of CrashInfo describing the crash; otherwise null. Loading Loading @@ -113,6 +118,7 @@ public class ApplicationErrorReport implements Parcelable { dest.writeString(installerPackageName); dest.writeString(processName); dest.writeLong(time); dest.writeInt(systemApp ? 1 : 0); switch (type) { case TYPE_CRASH: Loading @@ -130,6 +136,7 @@ public class ApplicationErrorReport implements Parcelable { installerPackageName = in.readString(); processName = in.readString(); time = in.readLong(); systemApp = in.readInt() == 1; switch (type) { case TYPE_CRASH: Loading Loading @@ -331,6 +338,7 @@ public class ApplicationErrorReport implements Parcelable { pw.println(prefix + "installerPackageName: " + installerPackageName); pw.println(prefix + "processName: " + processName); pw.println(prefix + "time: " + time); pw.println(prefix + "systemApp: " + systemApp); switch (type) { case TYPE_CRASH: Loading services/java/com/android/server/am/ActivityManagerService.java +1 −0 Original line number Diff line number Diff line Loading @@ -8994,6 +8994,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen report.installerPackageName = r.errorReportReceiver.getPackageName(); report.processName = r.processName; report.time = timeMillis; report.systemApp = (r.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0; if (r.crashing) { report.type = ApplicationErrorReport.TYPE_CRASH; Loading Loading
core/java/android/app/ApplicationErrorReport.java +8 −0 Original line number Diff line number Diff line Loading @@ -81,6 +81,11 @@ public class ApplicationErrorReport implements Parcelable { */ public long time; /** * Set if the app is on the system image. */ public boolean systemApp; /** * If this report is of type {@link #TYPE_CRASH}, contains an instance * of CrashInfo describing the crash; otherwise null. Loading Loading @@ -113,6 +118,7 @@ public class ApplicationErrorReport implements Parcelable { dest.writeString(installerPackageName); dest.writeString(processName); dest.writeLong(time); dest.writeInt(systemApp ? 1 : 0); switch (type) { case TYPE_CRASH: Loading @@ -130,6 +136,7 @@ public class ApplicationErrorReport implements Parcelable { installerPackageName = in.readString(); processName = in.readString(); time = in.readLong(); systemApp = in.readInt() == 1; switch (type) { case TYPE_CRASH: Loading Loading @@ -331,6 +338,7 @@ public class ApplicationErrorReport implements Parcelable { pw.println(prefix + "installerPackageName: " + installerPackageName); pw.println(prefix + "processName: " + processName); pw.println(prefix + "time: " + time); pw.println(prefix + "systemApp: " + systemApp); switch (type) { case TYPE_CRASH: Loading
services/java/com/android/server/am/ActivityManagerService.java +1 −0 Original line number Diff line number Diff line Loading @@ -8994,6 +8994,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen report.installerPackageName = r.errorReportReceiver.getPackageName(); report.processName = r.processName; report.time = timeMillis; report.systemApp = (r.info.flags & ApplicationInfo.FLAG_SYSTEM) != 0; if (r.crashing) { report.type = ApplicationErrorReport.TYPE_CRASH; Loading