blob: 02cca79a255f25ff6b631169a7c3fd84caed6324 [file] [log] [blame]
Chaohui Wang7477f4e2024-07-26 14:51:33 +08001syntax = "proto2";
2
3package com.android.settings.spa;
4
5message SpaSearchLandingKey {
6 oneof page {
7 SpaSearchLandingSpaPage spa_page = 1;
Chaohui Wang7009c002024-07-29 15:04:31 +08008 SpaSearchLandingFragment fragment = 2;
Chaohui Wang7477f4e2024-07-26 14:51:33 +08009 }
10}
11
12message SpaSearchLandingSpaPage {
13 /** The destination of SPA page. */
14 optional string destination = 1;
15}
Chaohui Wang7009c002024-07-29 15:04:31 +080016
17message SpaSearchLandingFragment {
18 /** The fragment class name. */
19 optional string fragment_name = 1;
20
21 /** The key of the preference to highlight the item. */
22 optional string preference_key = 2;
23
24 /** The arguments passed to the page. */
25 map<string, BundleValue> arguments = 3;
26}
27
28/** A value in an Android Bundle. */
29message BundleValue {
30 oneof value {
31 /** A 32-bit signed integer value. */
32 int32 int_value = 1;
33 }
34}