Merge "Add keywords for search terms" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dd0e23b987
@@ -124,7 +124,6 @@ public class DisplaySettings extends DashboardFragment {
|
||||
List<String> keys = super.getNonIndexableKeys(context);
|
||||
keys.add(KEY_DISPLAY_SIZE);
|
||||
keys.add(WallpaperPreferenceController.KEY_WALLPAPER);
|
||||
keys.add(KEY_AMBIENT_DISPLAY);
|
||||
keys.add(KEY_NIGHT_DISPLAY);
|
||||
return keys;
|
||||
}
|
||||
|
@@ -434,6 +434,7 @@ public class BluetoothSettings extends DeviceListPreferenceFragment implements I
|
||||
data.title = res.getString(R.string.bluetooth_settings);
|
||||
data.screenTitle = res.getString(R.string.bluetooth_settings);
|
||||
data.key = DATA_KEY_REFERENCE;
|
||||
data.keywords = res.getString(R.string.keywords_bluetooth_settings);
|
||||
result.add(data);
|
||||
|
||||
// Removed paired bluetooth device indexing. See BluetoothSettingsObsolete.java.
|
||||
|
@@ -571,6 +571,7 @@ public class StorageSettings extends SettingsPreferenceFragment implements Index
|
||||
data.title = context.getString(R.string.storage_settings);
|
||||
data.key = "storage_settings";
|
||||
data.screenTitle = context.getString(R.string.storage_settings);
|
||||
data.keywords = context.getString(R.string.keywords_storage_settings);
|
||||
result.add(data);
|
||||
|
||||
data = new SearchIndexableRaw(context);
|
||||
|
@@ -118,6 +118,7 @@ public class WallpaperTypeSettings extends SettingsPreferenceFragment implements
|
||||
data.intentAction = Intent.ACTION_SET_WALLPAPER;
|
||||
data.intentTargetPackage = info.activityInfo.packageName;
|
||||
data.intentTargetClass = info.activityInfo.name;
|
||||
data.keywords = context.getString(R.string.keywords_wallpaper);
|
||||
result.add(data);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user