Help fallbacks and intent work
- Handle a backup URI, so that if the specified URI is not available, another can be used. - Add some data to help intents when they are intent URIs - Fill in the context with a classname when it isn't present Bug: 15475009 Change-Id: I7050fa61121901929e650b20bd7a0ae21e8ba207
This commit is contained in:
@@ -135,7 +135,7 @@ public class PowerUsageSummary extends PowerUsageBase {
|
||||
String helpUrl;
|
||||
if (!TextUtils.isEmpty(helpUrl = getResources().getString(R.string.help_url_battery))) {
|
||||
final MenuItem help = menu.add(0, MENU_HELP, 0, R.string.help_label);
|
||||
HelpUtils.prepareHelpMenuItem(getActivity(), help, helpUrl);
|
||||
HelpUtils.prepareHelpMenuItem(getActivity(), help, helpUrl, getClass().getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user