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

Commit 41d61924 authored by Yi Jin's avatar Yi Jin
Browse files

Need to add report id and sequence number to uniquely mark a incident

report data.

Bug: b/65451198
Test: N/A
Change-Id: I12f2c80c57e00e92888a295d432f2ec7e0d95ffd
parent f759af6f
Loading
Loading
Loading
Loading
+12 −4
Original line number Diff line number Diff line
@@ -24,17 +24,23 @@ package android.os;
// and how many bytes a section takes, etc.
message IncidentMetadata {

    // The id of the incident report.
    optional int64 report_id = 1;

    // The sequence number of the report.
    optional int32 sequence_number = 2;

    // privacy level of the incident report.
    enum Destination {
        AUTOMATIC = 0;
        EXPLICIT = 1;
        LOCAL = 2;
    }
    optional Destination dest = 1;
    optional Destination dest = 3;

    optional int32 request_size = 2;
    optional int32 request_size = 4;

    optional bool use_dropbox = 3;
    optional bool use_dropbox = 5;

    // stats of each section taken in this incident report.
    message SectionStats {
@@ -58,6 +64,8 @@ message IncidentMetadata {

        // Next Tag: 9
    }
    repeated SectionStats sections = 4;
    repeated SectionStats sections = 6;

    // Next Tag: 7
}