Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ee0270c authored by Songchun Fan's avatar Songchun Fan
Browse files

[am] add place holders for new crash stats fields

Putting empty values for now to cope with proto changes. Will replace
the place holders with real values in follow-up CLs.

BUG: 184844615
Test: atest android.cts.statsdatom.incremental.AppErrorAtomTests
Change-Id: I5a6adcf91c67f331a43e76ee706fdb5f2ffe67d6
parent f0572fd7
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -7775,7 +7775,17 @@ public class ActivityManagerService extends IActivityManager.Stub
                                      : ServerProtoEnums.ERROR_SOURCE_UNKNOWN,
                incrementalMetrics != null /* isIncremental */, loadingProgress,
                incrementalMetrics != null ? incrementalMetrics.getMillisSinceOldestPendingRead()
                        : -1
                        : -1,
                0 /* storage_health_code */,
                0 /* data_loader_status_code */,
                false /* read_logs_enabled */,
                0 /* millis_since_last_data_loader_bind */,
                0 /* data_loader_bind_delay_millis */,
                0 /* total_delayed_reads */,
                0 /* total_failed_reads */,
                0 /* last_read_error_uid */,
                0 /* last_read_error_millis_since */,
                0 /* last_read_error_code */
        );
        final int relaunchReason = r == null ? RELAUNCH_REASON_NONE
+11 −1
Original line number Diff line number Diff line
@@ -432,7 +432,17 @@ class ProcessErrorStateRecord {
                (mApp.info != null) ? mApp.info.packageName : "",
                incrementalMetrics != null /* isIncremental */, loadingProgress,
                incrementalMetrics != null ? incrementalMetrics.getMillisSinceOldestPendingRead()
                        : -1);
                        : -1,
                0 /* storage_health_code */,
                0 /* data_loader_status_code */,
                false /* read_logs_enabled */,
                0 /* millis_since_last_data_loader_bind */,
                0 /* data_loader_bind_delay_millis */,
                0 /* total_delayed_reads */,
                0 /* total_failed_reads */,
                0 /* last_read_error_uid */,
                0 /* last_read_error_millis_since */,
                0 /* last_read_error_code */);
        final ProcessRecord parentPr = parentProcess != null
                ? (ProcessRecord) parentProcess.mOwner : null;
        mService.addErrorToDropBox("anr", mApp, mApp.processName, activityShortComponentName,