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

Commit 34521ced authored by Howard Ro's avatar Howard Ro Committed by Android (Google) Code Review
Browse files

Merge "Add WatchdogRollbackOccurred atom"

parents 4fcdce13 e103fe2e
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -209,6 +209,7 @@ message Atom {
        AdbConnectionChanged adb_connection_changed = 144;
        SpeechDspStatReported speech_dsp_stat_reported = 145;
        UsbContaminantReported usb_contaminant_reported = 146;
        WatchdogRollbackOccurred watchdog_rollback_occurred = 147;
    }

    // Pulled events will start at field 10000.
@@ -1485,6 +1486,25 @@ message BluetoothLinkLayerConnectionEvent {
    optional android.bluetooth.hci.StatusEnum reason_code = 9;
}

/**
 * Logs when a module is rolled back by Watchdog.
 *
 * Logged from: Rollback Manager
 */
message WatchdogRollbackOccurred {
    enum RollbackType {
        UNKNOWN = 0;
        ROLLBACK_INITIATE = 1;
        ROLLBACK_SUCCESS = 2;
        ROLLBACK_FAILURE = 3;
    }
    optional RollbackType rollback_type = 1;

    optional string package_name = 2;

    optional int32 package_version_code = 3;
}


/**
 * Logs when something is plugged into or removed from the USB-C connector.