|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/nav_graph"
|
|
|
|
app:startDestination="@id/homeFragment">
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_home"
|
|
|
|
app:destination="@id/homeFragment"
|
|
|
|
app:popUpTo="@id/homeFragment"
|
|
|
|
app:popUpToInclusive="true" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_browser"
|
|
|
|
app:destination="@id/browserFragment"
|
|
|
|
app:popUpTo="@id/homeFragment"
|
|
|
|
app:popUpToInclusive="false" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_external_app_browser"
|
|
|
|
app:destination="@id/externalAppBrowserFragment"
|
|
|
|
app:popUpTo="@id/homeFragment"
|
|
|
|
app:popUpToInclusive="false" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_search_dialog"
|
|
|
|
app:destination="@id/searchDialogFragment" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_recently_closed"
|
|
|
|
app:destination="@id/recentlyClosedFragment" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_shareFragment"
|
|
|
|
app:destination="@id/shareFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_crash_reporter"
|
|
|
|
app:destination="@id/crashReporterFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_turn_on_sync"
|
|
|
|
app:destination="@id/turnOnSyncFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_searchEngineFragment"
|
|
|
|
app:destination="@id/search_engine_graph" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_accessibilityFragment"
|
|
|
|
app:destination="@id/accessibilityFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_deleteBrowsingDataFragment"
|
|
|
|
app:destination="@id/deleteBrowsingDataFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_webExtensionActionPopupFragment"
|
|
|
|
app:destination="@id/webExtensionActionPopupFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_settingsFragment"
|
|
|
|
app:destination="@id/settingsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_syncedTabsFragment"
|
|
|
|
app:destination="@id/syncedTabsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_privateBrowsingFragment"
|
|
|
|
app:destination="@id/privateBrowsingFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_bookmarkFragment"
|
|
|
|
app:destination="@id/bookmarkFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_historyFragment"
|
|
|
|
app:destination="@id/historyFragment" />
|
|
|
|
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_downloadsFragment"
|
|
|
|
app:destination="@id/downloadsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_accountProblemFragment"
|
|
|
|
app:destination="@id/accountProblemFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_SitePermissionsManagePhoneFeature"
|
|
|
|
app:destination="@id/SitePermissionsManagePhoneFeature" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_collectionCreationFragment"
|
|
|
|
app:destination="@id/collectionCreationFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_bookmarkEditFragment"
|
|
|
|
app:destination="@id/bookmarkEditFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_addonsManagementFragment"
|
|
|
|
app:destination="@id/addons_management_graph" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_trackingProtectionFragment"
|
|
|
|
app:destination="@id/trackingProtectionFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_trackingProtectionExceptionsFragment"
|
|
|
|
app:destination="@id/trackingProtectionExceptionsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_accountSettingsFragment"
|
|
|
|
app:destination="@id/accountSettingsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_trackingProtectionPanelDialogFragment"
|
|
|
|
app:destination="@id/trackingProtectionPanelDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_quickSettingsSheetDialogFragment"
|
|
|
|
app:destination="@id/quickSettingsSheetDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_tabTrayDialogFragment"
|
|
|
|
app:destination="@id/tabTrayDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_savedLoginsAuthFragment"
|
|
|
|
app:destination="@id/savedLoginsAuthFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_tabHistoryDialogFragment"
|
|
|
|
app:destination="@id/tabHistoryDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_global_tabSettingsFragment"
|
|
|
|
app:destination="@id/tabsSettingsFragment" />
|
|
|
|
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/tabTrayDialogFragment"
|
|
|
|
android:name="org.mozilla.fenix.tabtray.TabTrayDialogFragment"
|
|
|
|
tools:layout="@layout/fragment_tab_tray_dialog">
|
|
|
|
<argument
|
|
|
|
android:name="enterMultiselect"
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:argType="boolean" />
|
|
|
|
</dialog>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/homeFragment"
|
|
|
|
android:name="org.mozilla.fenix.home.HomeFragment"
|
|
|
|
tools:layout="@layout/fragment_home">
|
|
|
|
<argument
|
|
|
|
android:name="focusOnAddressBar"
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:argType="boolean" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/searchDialogFragment"
|
|
|
|
android:name="org.mozilla.fenix.search.SearchDialogFragment"
|
|
|
|
tools:layout="@layout/fragment_search_dialog">
|
|
|
|
<argument
|
|
|
|
android:name="session_id"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="pastedText"
|
|
|
|
android:defaultValue="@null"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="search_access_point"
|
|
|
|
android:defaultValue="NONE"
|
|
|
|
app:argType="org.mozilla.fenix.components.metrics.Event$PerformedSearch$SearchAccessPoint" />
|
|
|
|
</dialog>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/recentlyClosedFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.recentlyclosed.RecentlyClosedFragment"
|
|
|
|
android:label="@string/library_recently_closed_tabs" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/SitePermissionsManagePhoneFeature"
|
|
|
|
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsManagePhoneFeatureFragment"
|
|
|
|
tools:layout="@layout/fragment_manage_site_permissions_feature_phone">
|
|
|
|
<argument
|
|
|
|
android:name="phoneFeature"
|
|
|
|
app:argType="org.mozilla.fenix.settings.PhoneFeature" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/browserFragment"
|
|
|
|
android:name="org.mozilla.fenix.browser.BrowserFragment"
|
|
|
|
app:exitAnim="@anim/fade_out"
|
|
|
|
tools:layout="@layout/fragment_browser">
|
|
|
|
<argument
|
|
|
|
android:name="activeSessionId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_syncedTabsFragment"
|
|
|
|
app:destination="@id/syncedTabsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_settingsFragment"
|
|
|
|
app:destination="@id/settingsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_createShortcutFragment"
|
|
|
|
app:destination="@id/createShortcutFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_pwaOnboardingDialogFragment"
|
|
|
|
app:destination="@id/pwaOnboardingDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_quickSettingsSheetDialogFragment"
|
|
|
|
app:destination="@id/quickSettingsSheetDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_trackingProtectionPanelDialogFragment"
|
|
|
|
app:destination="@id/trackingProtectionPanelDialogFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_browserFragment_to_tabsTrayFragment"
|
|
|
|
app:destination="@+id/tabTrayFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/externalAppBrowserFragment"
|
|
|
|
android:name="org.mozilla.fenix.customtabs.ExternalAppBrowserFragment"
|
|
|
|
tools:layout="@layout/fragment_browser">
|
|
|
|
<argument
|
|
|
|
android:name="activeSessionId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="webAppManifest"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/historyFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.history.HistoryFragment"
|
|
|
|
android:label="@string/library_history"
|
|
|
|
tools:layout="@layout/fragment_history" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/downloadsFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.downloads.DownloadFragment"
|
|
|
|
android:label="Downloads"
|
|
|
|
tools:layout="@layout/fragment_downloads" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.BookmarkFragment"
|
|
|
|
tools:layout="@layout/fragment_bookmark">
|
|
|
|
<argument
|
|
|
|
android:name="currentRoot"
|
|
|
|
app:argType="string" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkFragment_self"
|
|
|
|
app:destination="@id/bookmarkFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkFragment_to_bookmarkEditFragment"
|
|
|
|
app:destination="@id/bookmarkEditFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkFragment_to_bookmarkAddFolderFragment"
|
|
|
|
app:destination="@id/bookmarkAddFolderFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkEditFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.edit.EditBookmarkFragment"
|
|
|
|
tools:layout="@layout/fragment_edit_bookmark">
|
|
|
|
<argument
|
|
|
|
android:name="guidToEdit"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkEditFragment_to_bookmarkSelectFolderFragment"
|
|
|
|
app:destination="@id/bookmarkSelectFolderFragment" />
|
|
|
|
<argument
|
|
|
|
android:name="requiresSnackbarPaddingForToolbar"
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:argType="boolean" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkSelectFolderFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.selectfolder.SelectBookmarkFolderFragment"
|
|
|
|
android:label="@string/bookmark_select_folder_fragment_label"
|
|
|
|
tools:layout="@layout/fragment_select_bookmark_folder">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkSelectFolderFragment_self"
|
|
|
|
app:destination="@id/bookmarkSelectFolderFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkSelectFolderFragment_to_bookmarkAddFolderFragment"
|
|
|
|
app:destination="@id/bookmarkAddFolderFragment" />
|
|
|
|
<argument
|
|
|
|
android:name="allowCreatingNewFolder"
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:argType="boolean" />
|
|
|
|
<argument
|
|
|
|
android:name="hideFolderGuid"
|
|
|
|
android:defaultValue="@null"
|
|
|
|
app:nullable="true"
|
|
|
|
app:argType="string" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/bookmarkAddFolderFragment"
|
|
|
|
android:name="org.mozilla.fenix.library.bookmarks.addfolder.AddBookmarkFolderFragment"
|
|
|
|
android:label="@string/bookmark_add_folder_fragment_label"
|
|
|
|
tools:layout="@layout/fragment_edit_bookmark">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_bookmarkAddFolderFragment_to_bookmarkSelectFolderFragment"
|
|
|
|
app:destination="@id/bookmarkSelectFolderFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/savedLoginsAuthFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.logins.fragment.SavedLoginsAuthFragment"
|
|
|
|
android:label="@string/preferences_passwords_logins_and_passwords">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_savedLoginsAuthFragment_to_loginsListFragment"
|
|
|
|
app:destination="@id/savedLoginsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_savedLoginsAuthFragment_to_turnOnSyncFragment"
|
|
|
|
app:destination="@id/turnOnSyncFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_savedLoginsAuthFragment_to_savedLoginsSettingFragment"
|
|
|
|
app:destination="@id/saveLoginSettingFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_savedLoginsAuthFragment_to_loginExceptionsFragment"
|
|
|
|
app:destination="@id/loginExceptionsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/savedLoginsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.logins.fragment.SavedLoginsFragment"
|
|
|
|
tools:layout="@layout/fragment_saved_logins">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_savedLoginsFragment_to_loginDetailFragment"
|
|
|
|
app:destination="@id/loginDetailFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_savedLoginsFragment_to_browserFragment"
|
|
|
|
app:destination="@id/browserFragment"
|
|
|
|
app:popUpTo="@id/settingsFragment"
|
|
|
|
app:popUpToInclusive="true" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/syncedTabsFragment"
|
|
|
|
android:name="org.mozilla.fenix.sync.SyncedTabsFragment"
|
|
|
|
android:label="@string/synced_tabs"
|
|
|
|
tools:layout="@layout/fragment_synced_tabs" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/loginExceptionsFragment"
|
|
|
|
android:name="org.mozilla.fenix.exceptions.login.LoginExceptionsFragment"
|
|
|
|
android:label="@string/preferences_passwords_exceptions"
|
|
|
|
tools:layout="@layout/fragment_exceptions" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/loginDetailFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.logins.fragment.LoginDetailFragment"
|
|
|
|
tools:layout="@layout/fragment_login_detail">
|
|
|
|
<argument
|
|
|
|
android:name="savedLoginId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="false" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_loginDetailFragment_to_editLoginFragment"
|
|
|
|
app:destination="@id/editLoginFragment"
|
|
|
|
app:popUpTo="@id/editLoginFragment"
|
|
|
|
app:popUpToInclusive="true" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/editLoginFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.logins.fragment.EditLoginFragment"
|
|
|
|
android:label="@string/edit"
|
|
|
|
tools:layout="@layout/fragment_edit_login">
|
|
|
|
<argument
|
|
|
|
android:name="savedLoginItem"
|
|
|
|
app:argType="org.mozilla.fenix.settings.logins.SavedLogin"
|
|
|
|
app:nullable="false" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_editLoginFragment_to_loginDetailFragment"
|
|
|
|
app:destination="@id/loginDetailFragment"
|
|
|
|
app:popUpTo="@id/loginDetailFragment"
|
|
|
|
app:popUpToInclusive="true" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/settingsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.SettingsFragment"
|
|
|
|
android:label="@string/settings_title">
|
|
|
|
<argument
|
|
|
|
android:name="preference_to_scroll_to"
|
|
|
|
android:defaultValue="@null"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_dataChoicesFragment"
|
|
|
|
app:destination="@id/dataChoicesFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right"
|
|
|
|
app:popUpTo="@id/settingsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_sitePermissionsFragment"
|
|
|
|
app:destination="@id/sitePermissionsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_savedLoginsAuthFragment"
|
|
|
|
app:destination="@id/savedLoginsAuthFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_accessibilityFragment"
|
|
|
|
app:destination="@id/accessibilityFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_accountSettingsFragment"
|
|
|
|
app:destination="@id/accountSettingsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_searchEngineFragment"
|
|
|
|
app:destination="@id/search_engine_graph"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_turnOnSyncFragment"
|
|
|
|
app:destination="@id/turnOnSyncFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_aboutFragment"
|
|
|
|
app:destination="@id/aboutFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_secretSettingsFragment"
|
|
|
|
app:destination="@id/secretSettingsPreference"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_customizationFragment"
|
|
|
|
app:destination="@id/customizationFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_privateBrowsingFragment"
|
|
|
|
app:destination="@id/privateBrowsingFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_trackingProtectionFragment"
|
|
|
|
app:destination="@id/trackingProtectionFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_deleteBrowsingDataFragment"
|
|
|
|
app:destination="@id/deleteBrowsingDataFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_accountProblemFragment"
|
|
|
|
app:destination="@id/accountProblemFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_deleteBrowsingDataOnQuitFragment"
|
|
|
|
app:destination="@id/deleteBrowsingDataOnQuitFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_localeSettingsFragment"
|
|
|
|
app:destination="@id/localeSettingsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_addonsFragment"
|
|
|
|
app:destination="@id/addons_management_graph"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_settingsFragment_to_tabsSettingsFragment"
|
|
|
|
app:destination="@id/tabsSettingsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/tabsSettingsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.TabsSettingsFragment"
|
|
|
|
android:label="@string/preferences_tabs" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/dataChoicesFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.DataChoicesFragment"
|
|
|
|
android:label="@string/preferences_data_choices" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/sitePermissionsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsFragment"
|
|
|
|
android:label="@string/preferences_site_permissions">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_site_permissions_to_manage_phone_features"
|
|
|
|
app:destination="@id/SitePermissionsManagePhoneFeature"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right"
|
|
|
|
app:popUpTo="@id/sitePermissionsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_site_permissions_to_exceptions"
|
|
|
|
app:destination="@id/site_permissions_exceptions_graph"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right"
|
|
|
|
app:popUpTo="@id/sitePermissionsFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/accessibilityFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.AccessibilityFragment"
|
|
|
|
android:label="@string/preferences_accessibility" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/accountSettingsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.account.AccountSettingsFragment"
|
|
|
|
android:label="@string/preferences_account_settings">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_accountSettingsFragment_to_signOutFragment"
|
|
|
|
app:destination="@id/signOutFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/turnOnSyncFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.account.TurnOnSyncFragment"
|
|
|
|
android:label="@string/preferences_sync"
|
|
|
|
tools:layout="@layout/fragment_turn_on_sync">
|
|
|
|
<argument
|
|
|
|
android:name="padSnackbar"
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:argType="boolean" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_turnOnSyncFragment_to_pairFragment"
|
|
|
|
app:destination="@id/pairFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/pairFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.PairFragment"
|
|
|
|
android:label="@string/preferences_sync"
|
|
|
|
tools:layout="@layout/fragment_pair" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/aboutFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.about.AboutFragment"
|
|
|
|
tools:layout="@layout/fragment_about">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_aboutFragment_to_aboutLibrariesFragment"
|
|
|
|
app:destination="@id/aboutLibrariesFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/secretSettingsPreference"
|
|
|
|
android:name="org.mozilla.fenix.settings.SecretSettingsFragment"
|
|
|
|
android:label="@string/preferences_debug_settings" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/crashReporterFragment"
|
|
|
|
android:name="org.mozilla.fenix.crashes.CrashReporterFragment"
|
|
|
|
tools:layout="@layout/fragment_crash_reporter">
|
|
|
|
<argument
|
|
|
|
android:name="crashIntent"
|
|
|
|
app:argType="android.content.Intent" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/aboutLibrariesFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.about.AboutLibrariesFragment"
|
|
|
|
tools:layout="@layout/fragment_about_libraries" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/customizationFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.CustomizationFragment"
|
|
|
|
android:label="@string/preferences_customize" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/privateBrowsingFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.PrivateBrowsingFragment"
|
|
|
|
android:label="@string/preferences_private_browsing_options" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/trackingProtectionFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.TrackingProtectionFragment">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_trackingProtectionFragment_to_exceptionsFragment"
|
|
|
|
app:destination="@id/trackingProtectionExceptionsFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_trackingProtectionFragment_to_trackingProtectionBlockingFragment"
|
|
|
|
app:destination="@id/trackingProtectionBlockingFragment"
|
|
|
|
app:enterAnim="@anim/slide_in_right"
|
|
|
|
app:exitAnim="@anim/slide_out_left"
|
|
|
|
app:popEnterAnim="@anim/slide_in_left"
|
|
|
|
app:popExitAnim="@anim/slide_out_right" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/deleteBrowsingDataFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment"
|
|
|
|
android:label="@string/preferences_delete_browsing_data"
|
|
|
|
tools:layout="@layout/fragment_delete_browsing_data" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/trackingProtectionExceptionsFragment"
|
|
|
|
android:name="org.mozilla.fenix.exceptions.trackingprotection.TrackingProtectionExceptionsFragment"
|
|
|
|
android:label="@string/preference_exceptions"
|
|
|
|
tools:layout="@layout/fragment_exceptions" />
|
|
|
|
<dialog
|
#4596 migrate collections (#5911)
* For #4596: move code from CollectionCreationComponent to CollectionCreationStore
Other than adding comments, no changes were made. The code will be updated in a following commit. This is in order to make the commit diff more readable.
* For 4596: update CollectionCreateStore to libstate
* For 4596: copied CollectionCreationUIView into CollectionCreationView
Otherwise, no code was changed. The next commit will update this code. This is in order to make the commit diff more readable.
* For 4596: update CollectionCreationView to LibState
Note that the minimal changes possible to enable migration were made. Refactoring will happen in a later commit.
* For 4596: updated CollectionCreationTabListAdapter to work with the new View
* For 4596: updated SaveCollectionListAdapter to work with the new View
* For 4596: implemented CollectionCreationController
For now, it has an identical interface to the interactor. In a later commit several of its responsibilities will be moved around, some to the interactor and some to the reducer
* For 4596: copied over previous reducer code
No other changes were made. The code will be updated in the following commit. This is done to make changes more readable for the reviewer
* For 4596: update reducer code param names
Otherwise, no changes at this time
* For 4596: add arguments to CreateCollectionFragment in nav_graph
These will be used to replace the current CreateCollectionViewModel, which shares data between fragments in a way that doesn't fit within our architecture.
* For 4596: pass arguments to collection via transaction instead of VM
The VM will be removed in a later commit
* For 4596: update BrowserToolbarController to share state to collection via its Direction
* For 4596: removed CreateCollectionViewModel
* For 4596: test tab retrieval in CreateCollectionFragment
* For 4596: fix crashing CreateCollectionFragmentTest
* For 4596: removed classes create collection classes used by old architecture
* For 4596: collection interactor rename + kdoc
* For 4596: moved collection interactor interface
* For 4596: renamed CreateCollectionFragment
All related classes followed the pattern of CollectionCreationX
* For 4596: kdoc CollectionCreationController
There's no effective difference between these calls and their interactor equivalent, so I linked to them
* For 4596: fix bug that caused rename to not work
* For 4596: removed unused collection actions
These were unused before the LibState refactor
* For 4596: kdoc StepChanged
* For 4596: removed todos about moving logic to the reducer
saveTabsToCollection: this could be moved, but that would involve creating a new action. SaveCollectionStep should probably be refactored out, so adding this layer of indirection seemed counterproductive
handleBackPress: needs to be able to call dismiss(). The reducer doesn't (and shouldn't) be able to do that, so this needs to live here
stepBack: called by handleBackPress. See above
* For 4596: wrote tests for CollectionCreationController#stepback
* For 4596: fixed tests broken by changes to collections
* For 4596: small readability refactor for CollectionController#stepBack
No change to functionality (see tests)
* For 4596: broke apart CollectionView#update
There's probably a lot more that could be done here, but smaller changes were made to reduce scope
* For 4596: remove unnecessary todos
It looks like we don't follow the suggested pattern in this project
* For 4596: test CollectionCreationController#normalSessionSize
* For 4596: updated naming in CollectionCreationController per review
5 years ago
|
|
|
android:id="@+id/collectionCreationFragment"
|
|
|
|
android:name="org.mozilla.fenix.collections.CollectionCreationFragment"
|
|
|
|
tools:layout="@layout/fragment_create_collection">
|
#4596 migrate collections (#5911)
* For #4596: move code from CollectionCreationComponent to CollectionCreationStore
Other than adding comments, no changes were made. The code will be updated in a following commit. This is in order to make the commit diff more readable.
* For 4596: update CollectionCreateStore to libstate
* For 4596: copied CollectionCreationUIView into CollectionCreationView
Otherwise, no code was changed. The next commit will update this code. This is in order to make the commit diff more readable.
* For 4596: update CollectionCreationView to LibState
Note that the minimal changes possible to enable migration were made. Refactoring will happen in a later commit.
* For 4596: updated CollectionCreationTabListAdapter to work with the new View
* For 4596: updated SaveCollectionListAdapter to work with the new View
* For 4596: implemented CollectionCreationController
For now, it has an identical interface to the interactor. In a later commit several of its responsibilities will be moved around, some to the interactor and some to the reducer
* For 4596: copied over previous reducer code
No other changes were made. The code will be updated in the following commit. This is done to make changes more readable for the reviewer
* For 4596: update reducer code param names
Otherwise, no changes at this time
* For 4596: add arguments to CreateCollectionFragment in nav_graph
These will be used to replace the current CreateCollectionViewModel, which shares data between fragments in a way that doesn't fit within our architecture.
* For 4596: pass arguments to collection via transaction instead of VM
The VM will be removed in a later commit
* For 4596: update BrowserToolbarController to share state to collection via its Direction
* For 4596: removed CreateCollectionViewModel
* For 4596: test tab retrieval in CreateCollectionFragment
* For 4596: fix crashing CreateCollectionFragmentTest
* For 4596: removed classes create collection classes used by old architecture
* For 4596: collection interactor rename + kdoc
* For 4596: moved collection interactor interface
* For 4596: renamed CreateCollectionFragment
All related classes followed the pattern of CollectionCreationX
* For 4596: kdoc CollectionCreationController
There's no effective difference between these calls and their interactor equivalent, so I linked to them
* For 4596: fix bug that caused rename to not work
* For 4596: removed unused collection actions
These were unused before the LibState refactor
* For 4596: kdoc StepChanged
* For 4596: removed todos about moving logic to the reducer
saveTabsToCollection: this could be moved, but that would involve creating a new action. SaveCollectionStep should probably be refactored out, so adding this layer of indirection seemed counterproductive
handleBackPress: needs to be able to call dismiss(). The reducer doesn't (and shouldn't) be able to do that, so this needs to live here
stepBack: called by handleBackPress. See above
* For 4596: wrote tests for CollectionCreationController#stepback
* For 4596: fixed tests broken by changes to collections
* For 4596: small readability refactor for CollectionController#stepBack
No change to functionality (see tests)
* For 4596: broke apart CollectionView#update
There's probably a lot more that could be done here, but smaller changes were made to reduce scope
* For 4596: remove unnecessary todos
It looks like we don't follow the suggested pattern in this project
* For 4596: test CollectionCreationController#normalSessionSize
* For 4596: updated naming in CollectionCreationController per review
5 years ago
|
|
|
<argument
|
|
|
|
android:name="tabIds"
|
|
|
|
android:defaultValue="@null"
|
|
|
|
app:argType="string[]"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="selectedTabIds"
|
|
|
|
android:defaultValue="@null"
|
|
|
|
app:argType="string[]"
|
|
|
|
app:nullable="true" />
|
|
|
|
<!-- nav_graph does not allow nullable Longs, so this defaults to -1 -->
|
|
|
|
<argument
|
|
|
|
android:name="selectedTabCollectionId"
|
|
|
|
android:defaultValue="-1L"
|
|
|
|
app:argType="long" />
|
|
|
|
<argument
|
|
|
|
android:name="saveCollectionStep"
|
|
|
|
app:argType="org.mozilla.fenix.collections.SaveCollectionStep"
|
|
|
|
app:nullable="false" />
|
|
|
|
</dialog>
|
|
|
|
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/createShortcutFragment"
|
|
|
|
android:name="org.mozilla.fenix.shortcut.CreateShortcutFragment"
|
|
|
|
tools:layout="@layout/fragment_create_shortcut" />
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/pwaOnboardingDialogFragment"
|
|
|
|
android:name="org.mozilla.fenix.shortcut.PwaOnboardingDialogFragment"
|
|
|
|
tools:layout="@layout/fragment_pwa_onboarding" />
|
|
|
|
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/shareFragment"
|
|
|
|
android:name="org.mozilla.fenix.share.ShareFragment"
|
|
|
|
tools:layout="@layout/fragment_share">
|
|
|
|
<argument
|
|
|
|
android:name="data"
|
|
|
|
app:argType="mozilla.components.concept.engine.prompt.ShareData[]" />
|
|
|
|
<argument
|
|
|
|
android:name="showPage"
|
|
|
|
android:defaultValue="false"
|
|
|
|
app:argType="boolean" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_shareFragment_to_addNewDeviceFragment"
|
|
|
|
app:destination="@id/addNewDeviceFragment" />
|
|
|
|
<argument
|
|
|
|
android:name="sessionId"
|
|
|
|
android:defaultValue="null"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="shareSubject"
|
|
|
|
android:defaultValue="@null"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
</dialog>
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/quickSettingsSheetDialogFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.quicksettings.QuickSettingsSheetDialogFragment"
|
|
|
|
tools:layout="@layout/fragment_quick_settings_dialog_sheet">
|
|
|
|
<argument
|
|
|
|
android:name="sessionId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="title"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="url"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="isSecured"
|
|
|
|
app:argType="boolean" />
|
|
|
|
<argument
|
|
|
|
android:name="sitePermissions"
|
|
|
|
app:argType="mozilla.components.feature.sitepermissions.SitePermissions"
|
|
|
|
app:nullable="true" />
|
|
|
|
<argument
|
|
|
|
android:name="gravity"
|
|
|
|
android:defaultValue="80"
|
|
|
|
app:argType="integer" />
|
|
|
|
<argument
|
|
|
|
android:name="certificateName"
|
|
|
|
android:defaultValue=" "
|
|
|
|
app:argType="string" />
|
|
|
|
</dialog>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/accountProblemFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.account.AccountProblemFragment">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_accountProblemFragment_to_signOutFragment"
|
|
|
|
app:destination="@id/signOutFragment" />
|
|
|
|
</fragment>
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/signOutFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.account.SignOutFragment"
|
|
|
|
tools:layout="@layout/fragment_sign_out" />
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/trackingProtectionPanelDialogFragment"
|
|
|
|
android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionPanelDialogFragment"
|
|
|
|
tools:layout="@layout/fragment_tracking_protection">
|
|
|
|
<argument
|
|
|
|
android:name="sessionId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="url"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="trackingProtectionEnabled"
|
|
|
|
app:argType="boolean" />
|
|
|
|
<argument
|
|
|
|
android:name="gravity"
|
|
|
|
android:defaultValue="80"
|
|
|
|
app:argType="integer" />
|
|
|
|
</dialog>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/trackingProtectionBlockingFragment"
|
|
|
|
android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionBlockingFragment"
|
|
|
|
tools:layout="@layout/fragment_tracking_protection_blocking">
|
|
|
|
<argument
|
|
|
|
android:name="protectionMode"
|
|
|
|
app:argType="org.mozilla.fenix.trackingprotection.TrackingProtectionMode" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/deleteBrowsingDataOnQuitFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataOnQuitFragment" />
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/addNewDeviceFragment"
|
|
|
|
android:name="org.mozilla.fenix.share.AddNewDeviceFragment"
|
|
|
|
tools:layout="@layout/fragment_add_new_device" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/localeSettingsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.advanced.LocaleSettingsFragment"
|
|
|
|
tools:layout="@layout/fragment_locale_settings" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/saveLoginSettingFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.logins.fragment.SavedLoginsSettingFragment"
|
|
|
|
android:label="SaveLoginSettingFragment" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/webExtensionActionPopupFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.WebExtensionActionPopupFragment"
|
|
|
|
tools:layout="@layout/fragment_add_on_internal_settings">
|
|
|
|
<argument
|
|
|
|
android:name="webExtensionId"
|
|
|
|
app:argType="string" />
|
|
|
|
<argument
|
|
|
|
android:name="webExtensionTitle"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
</fragment>
|
|
|
|
<dialog
|
|
|
|
android:id="@+id/tabHistoryDialogFragment"
|
|
|
|
android:name="org.mozilla.fenix.tabhistory.TabHistoryDialogFragment"
|
|
|
|
tools:layout="@layout/fragment_tab_history_dialog">
|
|
|
|
<argument
|
|
|
|
android:name="activeSessionId"
|
|
|
|
app:argType="string"
|
|
|
|
app:nullable="true" />
|
|
|
|
</dialog>
|
|
|
|
|
|
|
|
<navigation
|
|
|
|
android:id="@+id/site_permissions_exceptions_graph"
|
|
|
|
app:startDestination="@id/sitePermissionsExceptionsFragment">
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/sitePermissionsExceptionsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsExceptionsFragment"
|
|
|
|
android:label="@string/preference_exceptions"
|
|
|
|
tools:layout="@layout/fragment_site_permissions_exceptions">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_site_permissions_to_exceptions_to_site_permissions_details"
|
|
|
|
app:destination="@id/sitePermissionsDetailsExceptionsFragment"
|
|
|
|
app:popUpTo="@+id/sitePermissionsExceptionsFragment" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/sitePermissionsManageExceptionsPhoneFeatureFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsManageExceptionsPhoneFeatureFragment"
|
|
|
|
tools:layout="@layout/fragment_manage_site_permissions_feature_phone">
|
|
|
|
<argument
|
|
|
|
android:name="phoneFeature"
|
|
|
|
app:argType="org.mozilla.fenix.settings.PhoneFeature" />
|
|
|
|
<argument
|
|
|
|
android:name="sitePermissions"
|
|
|
|
app:argType="mozilla.components.feature.sitepermissions.SitePermissions" />
|
|
|
|
</fragment>
|
|
|
|
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/sitePermissionsDetailsExceptionsFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsDetailsExceptionsFragment">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_site_permissions_to_exceptions_to_manage_phone_feature"
|
|
|
|
app:destination="@id/sitePermissionsManageExceptionsPhoneFeatureFragment"
|
|
|
|
app:popUpTo="@+id/sitePermissionsDetailsExceptionsFragment" />
|
|
|
|
<argument
|
|
|
|
android:name="sitePermissions"
|
|
|
|
app:argType="mozilla.components.feature.sitepermissions.SitePermissions" />
|
|
|
|
</fragment>
|
|
|
|
</navigation>
|
|
|
|
|
|
|
|
<navigation
|
|
|
|
android:id="@+id/addons_management_graph"
|
|
|
|
app:startDestination="@id/addonsManagementFragment">
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/addonsManagementFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.AddonsManagementFragment"
|
|
|
|
tools:layout="@layout/fragment_add_ons_management">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_addonsManagementFragment_to_addonDetailsFragment"
|
|
|
|
app:destination="@id/addonDetailsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_addonsManagementFragment_to_installedAddonDetails"
|
|
|
|
app:destination="@id/installedAddonDetailsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_addonsManagementFragment_to_notYetSupportedAddonFragment"
|
|
|
|
app:destination="@id/notYetSupportedAddonFragment" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/installedAddonDetailsFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.InstalledAddonDetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_installed_add_on_details">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_installedAddonFragment_to_addonInternalSettingsFragment"
|
|
|
|
app:destination="@id/addonInternalSettingsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_installedAddonFragment_to_addonDetailsFragment"
|
|
|
|
app:destination="@id/addonDetailsFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_installedAddonFragment_to_addonPermissionsDetailsFragment"
|
|
|
|
app:destination="@id/addonPermissionsDetailFragment" />
|
|
|
|
<argument
|
|
|
|
android:name="addon"
|
|
|
|
app:argType="mozilla.components.feature.addons.Addon" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/notYetSupportedAddonFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.NotYetSupportedAddonFragment"
|
|
|
|
tools:layout="@layout/fragment_not_yet_supported_addons">
|
|
|
|
<argument
|
|
|
|
android:name="addons"
|
|
|
|
app:argType="mozilla.components.feature.addons.Addon[]" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/addonPermissionsDetailFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.AddonPermissionsDetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_add_on_permissions">
|
|
|
|
<argument
|
|
|
|
android:name="addon"
|
|
|
|
app:argType="mozilla.components.feature.addons.Addon" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/addonInternalSettingsFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.AddonInternalSettingsFragment"
|
|
|
|
tools:layout="@layout/fragment_add_on_internal_settings">
|
|
|
|
<argument
|
|
|
|
android:name="addon"
|
|
|
|
app:argType="mozilla.components.feature.addons.Addon" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/addonDetailsFragment"
|
|
|
|
android:name="org.mozilla.fenix.addons.AddonDetailsFragment"
|
|
|
|
tools:layout="@layout/fragment_add_on_details">
|
|
|
|
<argument
|
|
|
|
android:name="addon"
|
|
|
|
app:argType="mozilla.components.feature.addons.Addon" />
|
|
|
|
</fragment>
|
|
|
|
</navigation>
|
|
|
|
|
|
|
|
<navigation
|
|
|
|
android:id="@+id/search_engine_graph"
|
|
|
|
app:startDestination="@id/searchEngineFragment">
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/searchEngineFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.search.SearchEngineFragment"
|
|
|
|
android:label="@string/preferences_search">
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_searchEngineFragment_to_addSearchEngineFragment"
|
|
|
|
app:destination="@+id/addSearchEngineFragment" />
|
|
|
|
<action
|
|
|
|
android:id="@+id/action_searchEngineFragment_to_editCustomSearchEngineFragment"
|
|
|
|
app:destination="@+id/editCustomSearchEngineFragment" />
|
|
|
|
</fragment>
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/addSearchEngineFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.search.AddSearchEngineFragment"
|
|
|
|
tools:layout="@layout/fragment_add_search_engine" />
|
|
|
|
<fragment
|
|
|
|
android:id="@+id/editCustomSearchEngineFragment"
|
|
|
|
android:name="org.mozilla.fenix.settings.search.EditCustomSearchEngineFragment"
|
|
|
|
tools:layout="@layout/fragment_add_search_engine">
|
|
|
|
<argument
|
|
|
|
android:name="searchEngineIdentifier"
|
|
|
|
app:argType="string" />
|
|
|
|
</fragment>
|
|
|
|
</navigation>
|
|
|
|
</navigation>
|