Fix search for MMS Message
Also display multiple results when there are multiple MMS Message on
different SIMs.
When doing indexing, we not also log sub id as part of the key.
When user clicks the result, using SpaSearchLandingActivity to do the
redirection, set arguments to the fragment.
Fix: 352245817
Flag: EXEMPT bug fix
Test: manual - search mms
Test: unit test
Change-Id: Id47a1151cb418c18f68f97e3be33dcd21c5f5102
diff --git a/protos/spa_search_landing.proto b/protos/spa_search_landing.proto
index 4305554..02cca79 100644
--- a/protos/spa_search_landing.proto
+++ b/protos/spa_search_landing.proto
@@ -5,6 +5,7 @@
message SpaSearchLandingKey {
oneof page {
SpaSearchLandingSpaPage spa_page = 1;
+ SpaSearchLandingFragment fragment = 2;
}
}
@@ -12,3 +13,22 @@
/** The destination of SPA page. */
optional string destination = 1;
}
+
+message SpaSearchLandingFragment {
+ /** The fragment class name. */
+ optional string fragment_name = 1;
+
+ /** The key of the preference to highlight the item. */
+ optional string preference_key = 2;
+
+ /** The arguments passed to the page. */
+ map<string, BundleValue> arguments = 3;
+}
+
+/** A value in an Android Bundle. */
+message BundleValue {
+ oneof value {
+ /** A 32-bit signed integer value. */
+ int32 int_value = 1;
+ }
+}