@ -5,11 +5,16 @@
android:id="@+id/nav_graph"
android:id="@+id/nav_graph"
app:startDestination="@id/homeFragment">
app:startDestination="@id/homeFragment">
<action
android:id="@+id/action_global_home"
app:destination="@id/nav_graph"
app:popUpToInclusive="true" />
<action
<action
android:id="@+id/action_global_browser"
android:id="@+id/action_global_browser"
app:destination="@id/browserFragment"
app:destination="@id/browserFragment"
app:popUpTo="@id/nav_graph"
app:popUpTo="@id/nav_graph"
app:popUpToInclusive="true" />
app:popUpToInclusive="fals e" />
<action
<action
android:id="@+id/action_global_external_app_browser"
android:id="@+id/action_global_external_app_browser"
@ -23,102 +28,51 @@
app:popUpTo="@id/nav_graph"
app:popUpTo="@id/nav_graph"
app:popUpToInclusive="true" />
app:popUpToInclusive="true" />
<action
<action android:id= "@+id/action_global_shareFragment" app:destination= "@id/shareFragment" />
android:id="@+id/action_global_crash_reporter"
<action android:id= "@+id/action_global_crash_reporter" app:destination= "@id/crashReporterFragment" />
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" app:destination= "@id/addonsManagementFragment" />
<action
<action android:id= "@+id/action_global_searchEngineFragment" app:destination= "@id/searchEngineFragment" />
android:id="@+id/action_global_turn_on_sync"
<action android:id= "@+id/action_global_accessibilityFragment" app:destination= "@id/accessibilityFragment" />
app:destination="@id/turnOnSyncFragment" />
<action android:id= "@+id/action_global_deleteBrowsingDataFragment" app:destination= "@id/deleteBrowsingDataFragment" />
<action android:id= "@+id/action_global_webExtensionActionPopupFragment" app:destination= "@id/webExtensionActionPopupFragment" />
<action
<action android:id= "@+id/action_global_settingsFragment" app:destination= "@id/settingsFragment" />
android:id="@+id/action_global_settingsFragment"
<action android:id= "@+id/action_global_privateBrowsingFragment" app:destination= "@id/privateBrowsingFragment" />
app:destination="@id/settingsFragment" />
<action android:id= "@+id/action_global_bookmarkFragment" app:destination= "@id/bookmarkFragment" />
<action android:id= "@+id/action_global_historyFragment" app:destination= "@id/historyFragment" />
<action
<action android:id= "@+id/action_global_accountProblemFragment" app:destination= "@id/accountProblemFragment" />
android:id="@+id/action_global_settings_addonsManagementFragment"
<action android:id= "@+id/action_global_SitePermissionsManagePhoneFeature" app:destination= "@id/SitePermissionsManagePhoneFeature" />
app:destination="@id/addonsManagementFragment" />
<action android:id= "@+id/action_global_collectionCreationFragment" app:destination= "@id/collectionCreationFragment" />
<action android:id= "@+id/action_global_bookmarkEditFragment" app:destination= "@id/bookmarkEditFragment" />
<action
<action android:id= "@+id/action_global_addonsManagementFragment" app:destination= "@id/addonsManagementFragment" />
android:id="@+id/action_global_searchEngineFragment"
<action android:id= "@+id/action_global_trackingProtectionFragment" app:destination= "@id/trackingProtectionFragment" />
app:destination="@id/searchEngineFragment" />
<action android:id= "@+id/action_global_exceptionsFragment" app:destination= "@id/exceptionsFragment" />
<action android:id= "@+id/action_global_accountSettingsFragment" app:destination= "@id/accountSettingsFragment" />
<action
<action android:id= "@+id/action_global_trackingProtectionPanelDialogFragment" app:destination= "@id/trackingProtectionPanelDialogFragment" />
android:id="@+id/action_global_accessibilityFragment"
<action android:id= "@+id/action_global_quickSettingsSheetDialogFragment" app:destination= "@id/quickSettingsSheetDialogFragment" />
app:destination="@id/accessibilityFragment" />
<action
android:id="@+id/action_global_deleteBrowsingDataFragment"
app:destination="@id/deleteBrowsingDataFragment" />
<action
android:id="@+id/action_global_homeFragment"
app:destination="@id/homeFragment" />
<action
android:id="@+id/action_global_webExtensionActionPopupFragment"
app:destination="@id/webExtensionActionPopupFragment" />
<fragment
<fragment
android:id="@+id/homeFragment"
android:id="@+id/homeFragment"
android:name="org.mozilla.fenix.home.HomeFragment"
android:name="org.mozilla.fenix.home.HomeFragment"
tools:layout="@layout/fragment_home">
tools:layout="@layout/fragment_home">
<action
android:id="@+id/action_homeFragment_to_turnOnSyncFragment"
app:destination="@+id/turnOnSyncFragment" />
<action
android:id="@+id/action_homeFragment_to_accountProblemFragment"
app:destination="@id/accountProblemFragment" />
<action
android:id="@+id/action_homeFragment_to_searchFragment"
app:destination="@id/searchFragment"
app:enterAnim="@anim/fade_in_up"
app:popExitAnim="@anim/fade_out_down" />
<action
<action
android:id="@+id/action_homeFragment_to_browserFragment"
android:id="@+id/action_homeFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:destination="@id/browserFragment"
app:exitAnim="@anim/zoom_in_fade"
app:exitAnim="@anim/zoom_in_fade"
app:popEnterAnim="@anim/zoom_out_fade" />
app:popEnterAnim="@anim/zoom_out_fade" />
<action
android:id="@+id/action_homeFragment_to_libraryFragment"
app:destination="@id/libraryFragment" />
<action
android:id="@+id/action_homeFragment_to_bookmarksFragment"
app:destination="@id/bookmarkFragment" />
<action
android:id="@+id/action_homeFragment_to_historyFragment"
app:destination="@id/historyFragment" />
<action
android:id="@+id/action_homeFragment_to_settingsFragment"
app:destination="@id/settingsFragment" />
<action
<action
android:id="@+id/action_homeFragment_to_createCollectionFragment"
android:id="@+id/action_homeFragment_to_createCollectionFragment"
app:destination="@id/collectionCreationFragment" />
app:destination="@id/collectionCreationFragment" />
<action
android:id="@+id/action_homeFragment_to_shareFragment"
app:destination="@id/shareFragment" />
<action
android:id="@+id/action_homeFragment_to_privateBrowsingFragment"
app:destination="@id/privateBrowsingFragment" />
</fragment>
</fragment>
<fragment
<fragment
android:id="@+id/searchFragment"
android:id="@+id/searchFragment"
android:name="org.mozilla.fenix.search.SearchFragment"
android:name="org.mozilla.fenix.search.SearchFragment"
tools:layout="@layout/fragment_search">
tools:layout="@layout/fragment_search">
<action
android:id="@+id/action_searchFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpTo="@id/searchFragment"
app:popUpToInclusive="true" />
<argument
<argument
android:name="session_id"
android:name="session_id"
app:argType="string"
app:argType="string"
app:nullable="true" />
app:nullable="true" />
<action
android:id="@+id/action_searchFragment_to_searchEngineFragment"
app:destination="@id/searchEngineFragment"
app:popUpTo="@+id/searchFragment" />
<argument
<argument
android:name="pastedText"
android:name="pastedText"
android:defaultValue="@null"
android:defaultValue="@null"
@ -180,9 +134,6 @@
android:name="org.mozilla.fenix.browser.BrowserFragment"
android:name="org.mozilla.fenix.browser.BrowserFragment"
app:exitAnim="@anim/fade_out"
app:exitAnim="@anim/fade_out"
tools:layout="@layout/fragment_browser">
tools:layout="@layout/fragment_browser">
<action
android:id="@+id/action_browserFragment_to_homeFragment"
app:destination="@id/homeFragment" />
<action
<action
android:id="@+id/action_browserFragment_to_searchFragment"
android:id="@+id/action_browserFragment_to_searchFragment"
app:enterAnim="@anim/fade_in_up"
app:enterAnim="@anim/fade_in_up"
@ -202,30 +153,18 @@
<action
<action
android:id="@+id/action_browserFragment_to_libraryFragment"
android:id="@+id/action_browserFragment_to_libraryFragment"
app:destination="@id/libraryFragment" />
app:destination="@id/libraryFragment" />
<action
android:id="@+id/action_browserFragment_to_bookmarkEditFragment"
app:destination="@id/bookmarkEditFragment" />
<action
android:id="@+id/action_browserFragment_to_createCollectionFragment"
app:destination="@id/collectionCreationFragment" />
<action
<action
android:id="@+id/action_browserFragment_to_createShortcutFragment"
android:id="@+id/action_browserFragment_to_createShortcutFragment"
app:destination="@id/createShortcutFragment" />
app:destination="@id/createShortcutFragment" />
<action
<action
android:id="@+id/action_browserFragment_to_firstTimePwaFragment"
android:id="@+id/action_browserFragment_to_firstTimePwaFragment"
app:destination="@id/firstTimePwaFragment" />
app:destination="@id/firstTimePwaFragment" />
<action
android:id="@+id/action_browserFragment_to_shareFragment"
app:destination="@id/shareFragment" />
<action
<action
android:id="@+id/action_browserFragment_to_quickSettingsSheetDialogFragment"
android:id="@+id/action_browserFragment_to_quickSettingsSheetDialogFragment"
app:destination="@id/quickSettingsSheetDialogFragment" />
app:destination="@id/quickSettingsSheetDialogFragment" />
<action
<action
android:id="@+id/action_browserFragment_to_trackingProtectionPanelDialogFragment"
android:id="@+id/action_browserFragment_to_trackingProtectionPanelDialogFragment"
app:destination="@id/trackingProtectionPanelDialogFragment" />
app:destination="@id/trackingProtectionPanelDialogFragment" />
<action
android:id="@+id/action_browserFragment_to_addonsManagementFragment"
app:destination="@id/addonsManagementFragment" />
</fragment>
</fragment>
<fragment
<fragment
@ -240,15 +179,6 @@
android:name="webAppManifest"
android:name="webAppManifest"
app:argType="string"
app:argType="string"
app:nullable="true" />
app:nullable="true" />
<action
android:id="@+id/action_externalAppBrowserFragment_to_shareFragment"
app:destination="@id/shareFragment" />
<action
android:id="@+id/action_externalAppBrowserFragment_to_quickSettingsSheetDialogFragment"
app:destination="@id/quickSettingsSheetDialogFragment" />
<action
android:id="@+id/action_externalAppBrowserFragment_to_trackingProtectionPanelDialogFragment"
app:destination="@id/trackingProtectionPanelDialogFragment" />
</fragment>
</fragment>
<fragment
<fragment
@ -268,19 +198,7 @@
android:id="@+id/historyFragment"
android:id="@+id/historyFragment"
android:name="org.mozilla.fenix.library.history.HistoryFragment"
android:name="org.mozilla.fenix.library.history.HistoryFragment"
android:label="@string/library_history"
android:label="@string/library_history"
tools:layout="@layout/fragment_history">
tools:layout="@layout/fragment_history" />
<action
android:id="@+id/action_historyFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpToInclusive="true"
/>
<action
android:id="@+id/action_historyFragment_to_homeFragment"
app:destination="@id/homeFragment" />
<action
android:id="@+id/action_historyFragment_to_shareFragment"
app:destination="@id/shareFragment" />
</fragment>
<fragment
<fragment
android:id="@+id/bookmarkFragment"
android:id="@+id/bookmarkFragment"
@ -289,22 +207,12 @@
<argument
<argument
android:name="currentRoot"
android:name="currentRoot"
app:argType="string" />
app:argType="string" />
<action
android:id="@+id/action_bookmarkFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpToInclusive="true"/>
<action
<action
android:id="@+id/action_bookmarkFragment_self"
android:id="@+id/action_bookmarkFragment_self"
app:destination="@id/bookmarkFragment" />
app:destination="@id/bookmarkFragment" />
<action
<action
android:id="@+id/action_bookmarkFragment_to_bookmarkEditFragment"
android:id="@+id/action_bookmarkFragment_to_bookmarkEditFragment"
app:destination="@id/bookmarkEditFragment" />
app:destination="@id/bookmarkEditFragment" />
<action
android:id="@+id/action_bookmarkFragment_to_homeFragment"
app:destination="@id/homeFragment" />
<action
android:id="@+id/action_bookmarkFragment_to_shareFragment"
app:destination="@id/shareFragment" />
<action
<action
android:id="@+id/action_bookmarkFragment_to_bookmarkAddFolderFragment"
android:id="@+id/action_bookmarkFragment_to_bookmarkAddFolderFragment"
app:destination="@id/bookmarkAddFolderFragment" />
app:destination="@id/bookmarkAddFolderFragment" />
@ -342,9 +250,6 @@
android:name="visitedAddBookmark"
android:name="visitedAddBookmark"
android:defaultValue="false"
android:defaultValue="false"
app:argType="boolean" />
app:argType="boolean" />
<action
android:id="@+id/action_bookmarkSelectFolderFragment_to_browserFragment"
app:destination="@id/browserFragment" />
</fragment>
</fragment>
<fragment
<fragment
@ -367,20 +272,6 @@
app:popEnterAnim="@anim/slide_in_left"
app:popEnterAnim="@anim/slide_in_left"
app:popExitAnim="@anim/slide_out_right"
app:popExitAnim="@anim/slide_out_right"
app:destination="@id/savedLoginsFragment" />
app:destination="@id/savedLoginsFragment" />
<action
android:id="@+id/action_loginsFragment_to_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"
app:destination="@id/accountSettingsFragment" />
<action
android:id="@+id/action_loginsFragment_to_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"
app:destination="@id/accountProblemFragment" />
<action
<action
android:id="@+id/action_loginsFragment_to_turnOnSyncFragment"
android:id="@+id/action_loginsFragment_to_turnOnSyncFragment"
app:enterAnim="@anim/slide_in_right"
app:enterAnim="@anim/slide_in_right"
@ -401,10 +292,6 @@
android:id="@+id/settingsFragment"
android:id="@+id/settingsFragment"
android:name="org.mozilla.fenix.settings.SettingsFragment"
android:name="org.mozilla.fenix.settings.SettingsFragment"
android:label="@string/settings_title">
android:label="@string/settings_title">
<action
android:id="@+id/action_settingsFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpTo="@+id/settingsFragment" />
<action
<action
android:id="@+id/action_settingsFragment_to_dataChoicesFragment"
android:id="@+id/action_settingsFragment_to_dataChoicesFragment"
app:enterAnim="@anim/slide_in_right"
app:enterAnim="@anim/slide_in_right"
@ -596,18 +483,10 @@
<fragment
<fragment
android:id="@+id/aboutFragment"
android:id="@+id/aboutFragment"
android:name="org.mozilla.fenix.settings.about.AboutFragment">
android:name="org.mozilla.fenix.settings.about.AboutFragment"/>
<action
android:id="@+id/action_aboutFragment_to_browserFragment"
app:destination="@id/browserFragment" />
</fragment>
<fragment
<fragment
android:id="@+id/crashReporterFragment"
android:id="@+id/crashReporterFragment"
android:name="org.mozilla.fenix.crashes.CrashReporterFragment">
android:name="org.mozilla.fenix.crashes.CrashReporterFragment">
<action
android:id="@+id/action_crashReporterFragment_to_homeFragment"
app:destination="@id/homeFragment"
app:popUpTo="@id/nav_graph" />
<argument
<argument
android:name="crashIntent"
android:name="crashIntent"
app:argType="android.content.Intent" />
app:argType="android.content.Intent" />
@ -637,29 +516,15 @@
app:popEnterAnim="@anim/slide_in_left"
app:popEnterAnim="@anim/slide_in_left"
app:popExitAnim="@anim/slide_out_right"
app:popExitAnim="@anim/slide_out_right"
app:destination="@id/trackingProtectionBlockingFragment" />
app:destination="@id/trackingProtectionBlockingFragment" />
<action
android:id="@+id/action_trackingProtectionFragment_to_browserFragment"
app:destination="@id/browserFragment" />
</fragment>
</fragment>
<fragment
<fragment
android:id="@+id/deleteBrowsingDataFragment"
android:id="@+id/deleteBrowsingDataFragment"
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment"
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment"
android:label="@string/preferences_delete_browsing_data" >
android:label="@string/preferences_delete_browsing_data" />
<action
android:id="@+id/action_deleteBrowsingDataFragment_to_settingsFragment"
app:destination="@id/settingsFragment"
app:popUpTo="@id/homeFragment" />
</fragment>
<fragment
<fragment
android:id="@+id/exceptionsFragment"
android:id="@+id/exceptionsFragment"
android:name="org.mozilla.fenix.exceptions.ExceptionsFragment"
android:name="org.mozilla.fenix.exceptions.ExceptionsFragment"
android:label="@string/preference_exceptions">
android:label="@string/preference_exceptions"/>
<action
android:id="@+id/action_exceptionsFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpTo="@id/settingsFragment"
app:popUpToInclusive="true" />
</fragment>
<dialog
<dialog
android:id="@+id/collectionCreationFragment"
android:id="@+id/collectionCreationFragment"
android:name="org.mozilla.fenix.collections.CollectionCreationFragment"
android:name="org.mozilla.fenix.collections.CollectionCreationFragment"
@ -710,14 +575,6 @@
android:name="showPage"
android:name="showPage"
android:defaultValue="false"
android:defaultValue="false"
app:argType="boolean" />
app:argType="boolean" />
<action
android:id="@+id/action_shareFragment_to_turnOnSyncFragment"
app:destination="@+id/turnOnSyncFragment"
app:popUpTo="@id/shareFragment"
app:popUpToInclusive="true"/>
<action
android:id="@+id/action_shareFragment_to_accountProblemFragment"
app:destination="@id/accountProblemFragment" />
<action
<action
android:id="@+id/action_shareFragment_to_addNewDeviceFragment"
android:id="@+id/action_shareFragment_to_addNewDeviceFragment"
app:destination="@id/addNewDeviceFragment" />
app:destination="@id/addNewDeviceFragment" />
@ -754,10 +611,6 @@
android:name="certificateName"
android:name="certificateName"
android:defaultValue=" "
android:defaultValue=" "
app:argType="string" />
app:argType="string" />
<action
android:id="@+id/action_quickSettingsSheetDialogFragment_to_SitePermissionsManagePhoneFeature"
app:destination="@id/SitePermissionsManagePhoneFeature"
app:popUpTo="@id/quickSettingsSheetDialogFragment" />
</dialog>
</dialog>
<fragment
<fragment
android:id="@+id/accountProblemFragment"
android:id="@+id/accountProblemFragment"
@ -769,9 +622,6 @@
<dialog
<dialog
android:id="@+id/signOutFragment"
android:id="@+id/signOutFragment"
android:name="org.mozilla.fenix.settings.account.SignOutFragment" />
android:name="org.mozilla.fenix.settings.account.SignOutFragment" />
<action
android:id="@+id/action_global_shareFragment"
app:destination="@id/shareFragment" />
<dialog
<dialog
android:id="@+id/trackingProtectionPanelDialogFragment"
android:id="@+id/trackingProtectionPanelDialogFragment"
android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionPanelDialogFragment">
android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionPanelDialogFragment">
@ -788,9 +638,6 @@
android:name="gravity"
android:name="gravity"
android:defaultValue="80"
android:defaultValue="80"
app:argType="integer" />
app:argType="integer" />
<action
android:id="@+id/action_trackingProtectionPanelDialogFragment_to_trackingProtectionFragment"
app:destination="@id/trackingProtectionFragment" />
</dialog>
</dialog>
<fragment
<fragment
android:id="@+id/trackingProtectionBlockingFragment"
android:id="@+id/trackingProtectionBlockingFragment"
@ -808,11 +655,7 @@
android:name="org.mozilla.fenix.share.AddNewDeviceFragment" />
android:name="org.mozilla.fenix.share.AddNewDeviceFragment" />
<fragment
<fragment
android:id="@+id/defaultBrowserSettingsFragment"
android:id="@+id/defaultBrowserSettingsFragment"
android:name="org.mozilla.fenix.settings.DefaultBrowserSettingsFragment">
android:name="org.mozilla.fenix.settings.DefaultBrowserSettingsFragment"/>
<action
android:id="@+id/action_defaultBrowserSettingsFragment_to_browserFragment"
app:destination="@id/browserFragment" />
</fragment>
<fragment
<fragment
android:id="@+id/savedLoginsFragment"
android:id="@+id/savedLoginsFragment"
android:name="org.mozilla.fenix.settings.logins.SavedLoginsFragment"
android:name="org.mozilla.fenix.settings.logins.SavedLoginsFragment"
@ -820,11 +663,6 @@
<action
<action
android:id="@+id/action_savedLoginsFragment_to_savedLoginSiteInfoFragment"
android:id="@+id/action_savedLoginsFragment_to_savedLoginSiteInfoFragment"
app:destination="@id/savedLoginSiteInfoFragment" />
app:destination="@id/savedLoginSiteInfoFragment" />
<action
android:id="@+id/action_savedLoginsFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:popUpTo="@id/settingsFragment"
app:popUpToInclusive="true" />
</fragment>
</fragment>
<fragment
<fragment
android:id="@+id/savedLoginSiteInfoFragment"
android:id="@+id/savedLoginSiteInfoFragment"