From 7b7aadaa24e191e441feff5577234a56214092d7 Mon Sep 17 00:00:00 2001 From: Yanting Yang Date: Mon, 9 Mar 2020 23:09:50 +0800 Subject: [PATCH] Corrected the indexing data of Tips and support Update the screen title from Settings to Tips & support to display correct breadcrumb in Settings Search. Bug: 147851992 Test: visual Change-Id: Id98488cfffdc86de43bf64f7e867e41a9dcc3142 --- .../settings/support/SupportDashboardActivity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/com/android/settings/support/SupportDashboardActivity.java b/src/com/android/settings/support/SupportDashboardActivity.java index 8bc538ef38a..b8a22b996e1 100644 --- a/src/com/android/settings/support/SupportDashboardActivity.java +++ b/src/com/android/settings/support/SupportDashboardActivity.java @@ -25,8 +25,8 @@ import com.android.settings.overlay.FeatureFactory; import com.android.settings.overlay.SupportFeatureProvider; import com.android.settings.search.BaseSearchIndexProvider; import com.android.settingslib.search.Indexable; -import com.android.settingslib.search.SearchIndexableRaw; import com.android.settingslib.search.SearchIndexable; +import com.android.settingslib.search.SearchIndexableRaw; import java.util.ArrayList; import java.util.List; @@ -45,8 +45,8 @@ public class SupportDashboardActivity extends Activity implements Indexable { // try to launch support if we have the feature provider if (supportFeatureProvider != null) { - supportFeatureProvider.startSupport(this); - finish(); + supportFeatureProvider.startSupport(this); + finish(); } } @@ -66,7 +66,7 @@ public class SupportDashboardActivity extends Activity implements Indexable { // Add the activity title SearchIndexableRaw data = new SearchIndexableRaw(context); data.title = context.getString(R.string.page_tab_title_support); - data.screenTitle = context.getString(R.string.settings_label); + data.screenTitle = context.getString(R.string.page_tab_title_support); data.summaryOn = context.getString(R.string.support_summary); data.intentTargetPackage = context.getPackageName(); data.intentTargetClass = SupportDashboardActivity.class.getName();