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

Commit 0d176955 authored by Tej Singh's avatar Tej Singh
Browse files

Amend flagFlipUpdateOccurred atom

Amends atom to meet mainline requirements.

The API to log from apps is still in progress.

Test: build success on blueline.
Change-Id: Ia13ff519a40a3a6e5b2f3a7f9ebd896cef6e7f06
parent 6f19cbdd
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -161,7 +161,7 @@ message Atom {
        // Consider removing this if it becomes a problem
        ServiceStateChanged service_state_changed = 99;
        ServiceLaunchReported service_launch_reported = 100;
        PhenotypeFlagStateChanged phenotype_flag_state_changed = 101;
        FlagFlipUpdateOccurred flag_flip_update_occurred = 101;
        BinaryPushStateChanged binary_push_state_changed = 102;
        DevicePolicyEvent device_policy_event = 103;
        DocsUIFileOperationCanceledReported docs_ui_file_op_canceled = 104;
@@ -2470,18 +2470,14 @@ message Notification {
}

/*
 * Logs when a flag flip state changes.
 * Logged in P/h.
 * Logs when a flag flip update occurrs. Used for mainline modules that update via flag flips.
 */
message PhenotypeFlagStateChanged {
    // Mendel configuration name.
    optional string mendel_config_name = 1;
    // State
    enum State {
        STATE_UNKNOWN = 0;
        COMMITTED = 1;
    }
    optional State state = 2;
message FlagFlipUpdateOccurred {
    // If the event is from a flag config package, specify the package name.
    optional string flag_flip_package_name = 1;

    // The order id of the package
    optional int64 order_id = 2;
}

/*