Files
app_Settings/protos/contextual_card_list.proto
Yanting Yang 4bd94b9053 Remove deprecated EXCLUSIVE field from proto
Fixes: 123560880
Test: robotests
Change-Id: I6ff184dc5998d1e8eadfbfa16c8c7a85ebd75d98
2019-02-18 16:25:23 +08:00

34 lines
698 B
Protocol Buffer

syntax = "proto2";
package com.android.settings.intelligence;
option java_outer_classname = "ContextualCardProto";
message ContextualCardList {
repeated ContextualCard card = 1;
}
message ContextualCard {
/**
* The category of a card: this is a hint for how a card should be collected,
* ranked, and presented
*/
enum Category {
DEFAULT = 0;
SUGGESTION = 1;
POSSIBLE = 2;
IMPORTANT = 3;
DEFERRED_SETUP = 5;
}
/** Slice uri of the contextual card */
optional string sliceUri = 1;
/** Name of the card. It should be identical in every app */
optional string cardName = 3;
optional Category card_category = 4;
optional double card_score = 5;
}