Misc search summary text updates.
- Remove static text from default app summaries.They will be filled dynamically at runtime, so we don't need the static ones here. - Remove summaryOn/summaryOff strings from a few fragments. Search framework does not need them. Change-Id: I165766073ba70aceead88c3df02d62f3700e4592 Fix: 36474747 Fix: 34573952 Test: run existing tests
This commit is contained in:
@@ -775,8 +775,6 @@ public class AccessibilitySettings extends SettingsPreferenceFragment implements
|
||||
SearchIndexableRaw indexable = new SearchIndexableRaw(context);
|
||||
indexable.key = componentName.flattenToString();
|
||||
indexable.title = service.getResolveInfo().loadLabel(packageManager).toString();
|
||||
indexable.summaryOn = context.getString(R.string.accessibility_feature_state_on);
|
||||
indexable.summaryOff = context.getString(R.string.accessibility_feature_state_off);
|
||||
indexable.screenTitle = screenTitle;
|
||||
indexables.add(indexable);
|
||||
}
|
||||
|
Reference in New Issue
Block a user