Add contextual card proto libraries.
Test: rebuild
Change-Id: Ifd105a91be4ce3b3ae35766e069d4b4663e54b0f
diff --git a/protos/Android.bp b/protos/Android.bp
new file mode 100644
index 0000000..533dbca
--- /dev/null
+++ b/protos/Android.bp
@@ -0,0 +1,8 @@
+java_library_static {
+ name: "settings-contextual-card-protos-lite",
+ host_supported: true,
+ proto: {
+ type: "lite",
+ },
+ srcs: ["contextual_card_list.proto"],
+}
\ No newline at end of file
diff --git a/protos/contextual_card_list.proto b/protos/contextual_card_list.proto
new file mode 100644
index 0000000..89e6c13
--- /dev/null
+++ b/protos/contextual_card_list.proto
@@ -0,0 +1,19 @@
+syntax = "proto2";
+
+package com.android.settings.intelligence;
+option java_outer_classname = "ContextualCardProto";
+
+message ContextualCardList {
+ repeated ContextualCard card = 1;
+}
+
+message ContextualCard {
+ // Slice uri of the contextual card
+ optional string sliceUri = 1;
+
+ // {@link ContextualCardCategory}.
+ optional int32 category = 2;
+
+ // Name of the card. It should be identical in every app
+ optional string cardName = 3;
+}
\ No newline at end of file