Merge "Allow help to be defined to intent uri"

This commit is contained in:
Jason Monk
2015-04-14 19:54:18 +00:00
committed by Android (Google) Code Review
14 changed files with 139 additions and 22 deletions

View File

@@ -171,6 +171,11 @@ public class OtherSoundSettings extends SettingsPreferenceFragment implements In
return MetricsLogger.NOTIFICATION_OTHER_SOUND;
}
@Override
protected int getHelpResource() {
return R.string.help_uri_other_sounds;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

View File

@@ -229,6 +229,11 @@ public class ZenModeSettings extends ZenModeSettingsBase
return rt;
}
@Override
protected int getHelpResource() {
return R.string.help_uri_interruptions;
}
// Enable indexing of searchable data
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
new BaseSearchIndexProvider() {