Show category when search "Mobile data"
The displayed category is "SIMs".
Bug: 346776183
Flag: EXEMPT bug fix
Test: manual - search "Mobile data"
Test: unit test
Change-Id: If3c395281e96603193e7476a9e76d1f9e9213531
diff --git a/protos/Android.bp b/protos/Android.bp
index 560851a..4ab96a7 100644
--- a/protos/Android.bp
+++ b/protos/Android.bp
@@ -1,44 +1,12 @@
package {
default_team: "trendy_team_android_settings_app",
- // See: http://go/android-license-faq
- // A large-scale-change added 'default_applicable_licenses' to import
- // all of the 'license_kinds' from "packages_apps_Settings_license"
- // to get the below license kinds:
- // SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["packages_apps_Settings_license"],
}
-java_library_static {
- name: "settings-contextual-card-protos-lite",
- host_supported: true,
- proto: {
- type: "lite",
- },
- srcs: ["contextual_card_list.proto"],
-}
-
-java_library_static {
- name: "settings-log-bridge-protos-lite",
- host_supported: true,
- proto: {
- type: "lite",
- },
- srcs: ["settings_log_bridge.proto"],
-}
-
-java_library_static {
- name: "settings-telephony-protos-lite",
- host_supported: true,
- proto: {
- type: "lite",
- },
- srcs: ["network_mode_choices.proto"],
-}
-
java_library {
- name: "fuelgauge-log-protos-lite",
+ name: "settings-protos-lite",
proto: {
type: "lite",
},
- srcs: ["fuelgauge_log.proto"],
+ srcs: ["*.proto"],
}
diff --git a/protos/spa_search_landing.proto b/protos/spa_search_landing.proto
new file mode 100644
index 0000000..4305554
--- /dev/null
+++ b/protos/spa_search_landing.proto
@@ -0,0 +1,14 @@
+syntax = "proto2";
+
+package com.android.settings.spa;
+
+message SpaSearchLandingKey {
+ oneof page {
+ SpaSearchLandingSpaPage spa_page = 1;
+ }
+}
+
+message SpaSearchLandingSpaPage {
+ /** The destination of SPA page. */
+ optional string destination = 1;
+}