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:
Jason Monk
2015-05-27 16:02:08 -04:00
parent ecf4339bc7
commit 15dcebe1e7
8 changed files with 53 additions and 32 deletions

View File

@@ -461,7 +461,7 @@ public class ManageApplications extends InstrumentedFragment
return;
}
HelpUtils.prepareHelpMenuItem(getActivity(), menu, mListType == LIST_TYPE_MAIN
? R.string.help_uri_apps : R.string.help_uri_notifications);
? R.string.help_uri_apps : R.string.help_uri_notifications, getClass().getName());
mOptionsMenu = menu;
inflater.inflate(R.menu.manage_apps, menu);
updateOptionsMenu();