1
0
Fork 0
fenix/app/src/main/res/navigation/nav_graph.xml

911 lines
39 KiB
XML
Raw Normal View History

<?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"
2020-05-01 19:46:02 +02:00
app:popUpToInclusive="true" />
<action
android:id="@+id/action_global_browser"
app:destination="@id/browserFragment"
app:popUpTo="@id/homeFragment"
app:popUpToInclusive="false" />
2019-08-12 18:31:59 +02:00
<action
android:id="@+id/action_global_external_app_browser"
app:destination="@id/externalAppBrowserFragment"
app:popUpTo="@id/homeFragment"
app:popUpToInclusive="false" />
2019-08-12 18:31:59 +02:00
2019-07-11 19:24:58 +02:00
<action
android:id="@+id/action_global_search"
app:destination="@id/searchFragment" />
2019-07-11 19:24:58 +02:00
<action
android:id="@+id/action_global_search_dialog"
app:destination="@id/searchDialogFragment" />
2020-07-02 04:37:03 +02:00
<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_settings_addonsManagementFragment"
2020-07-24 23:22:58 +02:00
app:destination="@id/addons_management_graph" />
2020-07-02 04:37:03 +02:00
<action
android:id="@+id/action_global_searchEngineFragment"
2020-07-24 23:22:58 +02:00
app:destination="@id/search_engine_graph" />
2020-07-02 04:37:03 +02:00
<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" />
2020-07-02 04:37:03 +02:00
<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_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"
2020-07-24 23:22:58 +02:00
app:destination="@id/addons_management_graph" />
2020-07-02 04:37:03 +02:00
<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" />
<dialog
android:id="@+id/tabTrayDialogFragment"
android:name="org.mozilla.fenix.tabtray.TabTrayDialogFragment"
2020-07-24 00:56:45 +02:00
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" />
<argument
android:name="session_to_delete"
2020-07-02 04:37:03 +02:00
android:defaultValue="@null"
app:argType="string"
2020-07-02 04:37:03 +02:00
app:nullable="true" />
</fragment>
<dialog
android:id="@+id/searchDialogFragment"
android:name="org.mozilla.fenix.searchdialog.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/searchFragment"
android:name="org.mozilla.fenix.search.SearchFragment"
tools:layout="@layout/fragment_search">
2019-05-15 00:00:01 +02:00
<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"
2020-07-02 04:37:03 +02:00
android:defaultValue="NONE"
app:argType="org.mozilla.fenix.components.metrics.Event$PerformedSearch$SearchAccessPoint" />
</fragment>
<fragment
android:id="@+id/SitePermissionsManagePhoneFeature"
2019-09-14 06:29:11 +02:00
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsManagePhoneFeatureFragment"
tools:layout="@layout/fragment_manage_site_permissions_feature_phone">
<argument
2020-06-08 22:02:42 +02:00
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">
<action
android:id="@+id/action_browserFragment_to_searchFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/searchFragment"
app:enterAnim="@anim/fade_in_up"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/fade_out_down" />
<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
2019-10-24 18:29:41 +02:00
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" />
2019-09-10 22:29:21 +02:00
<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>
2019-08-12 18:31:59 +02:00
<fragment
2019-09-10 22:29:21 +02:00
android:id="@+id/externalAppBrowserFragment"
android:name="org.mozilla.fenix.customtabs.ExternalAppBrowserFragment"
tools:layout="@layout/fragment_browser">
2019-10-24 18:29:41 +02:00
<argument
android:name="activeSessionId"
app:argType="string"
app:nullable="true" />
<argument
android:name="webAppManifest"
app:argType="string"
app:nullable="true" />
2019-08-12 18:31:59 +02:00
</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/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"
2019-05-15 00:00:01 +02:00
app:nullable="false" />
<action
android:id="@+id/action_bookmarkEditFragment_to_bookmarkSelectFolderFragment"
app:destination="@id/bookmarkSelectFolderFragment" />
2020-04-15 13:54:56 +02:00
<argument
android:name="requiresSnackbarPaddingForToolbar"
2020-07-02 04:37:03 +02:00
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">
<argument
android:name="folderGuid"
app:argType="string"
2019-05-15 00:00:01 +02:00
app:nullable="true" />
<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="visitedAddBookmark"
2019-05-15 00:00:01 +02:00
android:defaultValue="false"
app:argType="boolean" />
</fragment>
<fragment
android:id="@+id/bookmarkAddFolderFragment"
android:name="org.mozilla.fenix.library.bookmarks.addfolder.AddBookmarkFolderFragment"
android:label="@string/bookmark_add_folder_fragment_label">
<action
android:id="@+id/action_bookmarkAddFolderFragment_to_bookmarkSelectFolderFragment"
app:destination="@id/bookmarkSelectFolderFragment" />
</fragment>
2019-10-24 18:29:41 +02:00
<fragment
android:id="@+id/savedLoginsAuthFragment"
android:name="org.mozilla.fenix.settings.logins.fragment.SavedLoginsAuthFragment"
2019-10-24 18:29:41 +02:00
android:label="@string/preferences_passwords_logins_and_passwords">
<action
android:id="@+id/action_savedLoginsAuthFragment_to_loginsListFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/savedLoginsFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
2019-10-24 18:29:41 +02:00
<action
android:id="@+id/action_savedLoginsAuthFragment_to_turnOnSyncFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/turnOnSyncFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_savedLoginsAuthFragment_to_savedLoginsSettingFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/saveLoginSettingFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
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" />
2019-10-24 18:29:41 +02:00
</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"
2020-07-24 00:56:45 +02:00
tools:layout="@layout/fragment_synced_tabs" />
2020-07-02 04:37:03 +02:00
<fragment
android:id="@+id/loginExceptionsFragment"
android:name="org.mozilla.fenix.exceptions.login.LoginExceptionsFragment"
2020-07-02 04:37:03 +02:00
android:label="@string/preferences_passwords_exceptions"
2020-07-24 00:56:45 +02:00
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"
2020-07-02 04:37:03 +02:00
app:nullable="false" />
<action
android:id="@+id/action_loginDetailFragment_to_editLoginFragment"
app:destination="@id/editLoginFragment"
app:popUpTo="@id/editLoginFragment"
2020-07-02 04:37:03 +02:00
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/editLoginFragment"
android:name="org.mozilla.fenix.settings.logins.fragment.EditLoginFragment"
android:label="@string/edit">
<argument
android:name="savedLoginItem"
app:argType="org.mozilla.fenix.settings.logins.SavedLogin"
2020-07-02 04:37:03 +02:00
app:nullable="false" />
<action
android:id="@+id/action_editLoginFragment_to_loginDetailFragment"
app:destination="@id/loginDetailFragment"
app:popUpTo="@id/loginDetailFragment"
2020-07-02 04:37:03 +02:00
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/settingsFragment"
android:name="org.mozilla.fenix.settings.SettingsFragment"
2019-05-15 00:00:01 +02:00
android:label="@string/settings_title">
<action
android:id="@+id/action_settingsFragment_to_dataChoicesFragment"
2020-07-02 04:37:03 +02:00
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" />
2019-05-15 00:00:01 +02:00
<action
android:id="@+id/action_settingsFragment_to_sitePermissionsFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/sitePermissionsFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
2019-10-24 18:29:41 +02:00
<action
android:id="@+id/action_settingsFragment_to_savedLoginsAuthFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/savedLoginsAuthFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
2019-05-15 00:00:01 +02:00
<action
android:id="@+id/action_settingsFragment_to_accessibilityFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/accessibilityFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
2019-05-15 00:00:01 +02:00
<action
android:id="@+id/action_settingsFragment_to_accountSettingsFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/accountSettingsFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_searchEngineFragment"
2020-07-24 23:22:58 +02:00
app:destination="@id/search_engine_graph"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_turnOnSyncFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/turnOnSyncFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_aboutFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/aboutFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_secretSettingsFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/secretSettingsPreference"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
2019-04-02 02:53:37 +02:00
<action
android:id="@+id/action_settingsFragment_to_customizationFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/customizationFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_privateBrowsingFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/privateBrowsingFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_trackingProtectionFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/trackingProtectionFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_deleteBrowsingDataFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/deleteBrowsingDataFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_accountProblemFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/accountProblemFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_deleteBrowsingDataOnQuitFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/deleteBrowsingDataOnQuitFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_localeSettingsFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/localeSettingsFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
<action
android:id="@+id/action_settingsFragment_to_addonsFragment"
2020-07-24 23:22:58 +02:00
app:destination="@id/addons_management_graph"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
</fragment>
<fragment
2019-05-15 00:00:01 +02:00
android:id="@+id/dataChoicesFragment"
android:name="org.mozilla.fenix.settings.DataChoicesFragment"
android:label="@string/preferences_data_choices" />
2019-05-15 00:00:01 +02:00
<fragment
android:id="@+id/sitePermissionsFragment"
2019-09-14 06:29:11 +02:00
android:name="org.mozilla.fenix.settings.sitepermissions.SitePermissionsFragment"
2019-05-15 00:00:01 +02:00
android:label="@string/preferences_site_permissions">
<action
android:id="@+id/action_site_permissions_to_manage_phone_features"
2020-07-02 04:37:03 +02:00
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"
2019-05-15 00:00:01 +02:00
app:popUpTo="@id/sitePermissionsFragment" />
<action
android:id="@+id/action_site_permissions_to_exceptions"
2020-07-24 23:22:58 +02:00
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"
2019-05-15 00:00:01 +02:00
app:popUpTo="@id/sitePermissionsFragment" />
</fragment>
2019-05-15 00:00:01 +02:00
<fragment
android:id="@+id/accessibilityFragment"
android:name="org.mozilla.fenix.settings.AccessibilityFragment"
android:label="@string/preferences_accessibility" />
2019-05-15 00:00:01 +02:00
<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"
2019-09-14 06:29:11 +02:00
android:name="org.mozilla.fenix.settings.account.TurnOnSyncFragment"
2019-05-16 22:55:13 +02:00
android:label="@string/preferences_sync">
<argument
android:name="padSnackbar"
2020-01-11 00:31:28 +01:00
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" />
<fragment
android:id="@+id/aboutFragment"
2020-07-02 04:37:03 +02:00
android:name="org.mozilla.fenix.settings.about.AboutFragment" />
<fragment
android:id="@+id/secretSettingsPreference"
2020-06-27 00:53:30 +02:00
android:name="org.mozilla.fenix.settings.SecretSettingsFragment"
android:label="@string/preferences_debug_settings" />
2019-05-15 00:00:01 +02:00
<fragment
android:id="@+id/crashReporterFragment"
2020-01-11 00:31:28 +01:00
android:name="org.mozilla.fenix.crashes.CrashReporterFragment">
2019-05-15 00:00:01 +02:00
<argument
android:name="crashIntent"
app:argType="android.content.Intent" />
</fragment>
2019-04-02 02:53:37 +02:00
<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"
2020-01-11 00:31:28 +01:00
android:name="org.mozilla.fenix.settings.TrackingProtectionFragment">
<action
android:id="@+id/action_trackingProtectionFragment_to_exceptionsFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/trackingProtectionExceptionsFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
2019-09-10 22:29:21 +02:00
<action
android:id="@+id/action_trackingProtectionFragment_to_trackingProtectionBlockingFragment"
2020-07-02 04:37:03 +02:00
app:destination="@id/trackingProtectionBlockingFragment"
app:enterAnim="@anim/slide_in_right"
app:exitAnim="@anim/slide_out_left"
app:popEnterAnim="@anim/slide_in_left"
2020-07-02 04:37:03 +02:00
app:popExitAnim="@anim/slide_out_right" />
</fragment>
<fragment
android:id="@+id/deleteBrowsingDataFragment"
2019-09-14 06:29:11 +02:00
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment"
android:label="@string/preferences_delete_browsing_data" />
<fragment
2020-07-02 04:37:03 +02:00
android:id="@+id/trackingProtectionExceptionsFragment"
android:name="org.mozilla.fenix.exceptions.trackingprotection.TrackingProtectionExceptionsFragment"
2020-07-02 04:37:03 +02:00
android:label="@string/preference_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
2019-10-23 02:33:54 +02:00
android:id="@+id/collectionCreationFragment"
android:name="org.mozilla.fenix.collections.CollectionCreationFragment"
2020-01-11 00:31:28 +01:00
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
2019-10-23 02:33:54 +02:00
<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
2019-10-24 18:29:41 +02:00
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"
2020-01-11 00:31:28 +01:00
android:defaultValue="false"
app:argType="boolean" />
<action
android:id="@+id/action_shareFragment_to_addNewDeviceFragment"
app:destination="@id/addNewDeviceFragment" />
<argument
2020-01-11 00:31:28 +01:00
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">
<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"
2019-05-15 00:00:01 +02:00
android:defaultValue="80"
app:argType="integer" />
2020-01-31 13:27:48 +01:00
<argument
android:name="certificateName"
android:defaultValue=" "
app:argType="string" />
</dialog>
<fragment
android:id="@+id/accountProblemFragment"
2019-09-14 06:29:11 +02:00
android:name="org.mozilla.fenix.settings.account.AccountProblemFragment">
<action
android:id="@+id/action_accountProblemFragment_to_signOutFragment"
app:destination="@id/signOutFragment" />
2019-05-24 23:18:27 +02:00
</fragment>
<dialog
android:id="@+id/signOutFragment"
2019-09-14 06:29:11 +02:00
android:name="org.mozilla.fenix.settings.account.SignOutFragment" />
2019-09-10 22:29:21 +02:00
<dialog
android:id="@+id/trackingProtectionPanelDialogFragment"
2020-01-11 00:31:28 +01:00
android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionPanelDialogFragment">
2019-09-10 22:29:21 +02:00
<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">
2019-09-10 22:29:21 +02:00
<argument
2020-02-04 10:39:01 +01:00
android:name="protectionMode"
app:argType="org.mozilla.fenix.trackingprotection.TrackingProtectionMode" />
2019-09-10 22:29:21 +02:00
</fragment>
<fragment
android:id="@+id/deleteBrowsingDataOnQuitFragment"
2020-01-11 00:31:28 +01:00
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataOnQuitFragment" />
<fragment
android:id="@+id/addNewDeviceFragment"
2020-01-11 00:31:28 +01:00
android:name="org.mozilla.fenix.share.AddNewDeviceFragment" />
<fragment
android:id="@+id/localeSettingsFragment"
2020-01-11 00:31:28 +01:00
android:name="org.mozilla.fenix.settings.advanced.LocaleSettingsFragment" />
<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">
<argument
android:name="webExtensionId"
app:argType="string" />
<argument
android:name="webExtensionTitle"
app:argType="string"
2020-07-02 04:37:03 +02:00
app:nullable="true" />
</fragment>
<dialog
android:id="@+id/tabHistoryDialogFragment"
android:name="org.mozilla.fenix.tabhistory.TabHistoryDialogFragment" />
2020-07-24 23:22:58 +02:00
<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>
2019-08-12 18:31:59 +02:00
</navigation>