Allow help to be defined to intent uri
Allow help uris to be either an intent uri or as uri (as they were before). Also add a default help uri, and specific helps for several screens. Bug: 15475009 Change-Id: Iff982892973f01d32ff61ea88d4844e9a7153500
This commit is contained in:
@@ -55,6 +55,7 @@ import android.widget.Spinner;
|
||||
|
||||
import com.android.internal.content.PackageHelper;
|
||||
import com.android.internal.logging.MetricsLogger;
|
||||
import com.android.settings.HelpUtils;
|
||||
import com.android.settings.InstrumentedFragment;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.Settings.AllApplicationsActivity;
|
||||
@@ -431,6 +432,8 @@ public class ManageApplications extends InstrumentedFragment
|
||||
// No option menu
|
||||
return;
|
||||
}
|
||||
HelpUtils.prepareHelpMenuItem(getActivity(), menu, mListType == LIST_TYPE_MAIN
|
||||
? R.string.help_uri_apps : R.string.help_uri_notifications);
|
||||
mOptionsMenu = menu;
|
||||
if (mListType == LIST_TYPE_MAIN) {
|
||||
// Only show advanced options when in the main app list (from dashboard).
|
||||
|
Reference in New Issue
Block a user