1
0
Fork 0

Remove unused labels from nav_graph

master
ekager 2020-01-10 15:31:28 -08:00 committed by Emily Kager
parent 92305a725b
commit 913c50b59f
1 changed files with 21 additions and 38 deletions

View File

@ -93,7 +93,6 @@
<fragment <fragment
android:id="@+id/searchFragment" android:id="@+id/searchFragment"
android:name="org.mozilla.fenix.search.SearchFragment" android:name="org.mozilla.fenix.search.SearchFragment"
android:label="fragment_search"
tools:layout="@layout/fragment_search"> tools:layout="@layout/fragment_search">
<action <action
android:id="@+id/action_searchFragment_to_browserFragment" android:id="@+id/action_searchFragment_to_browserFragment"
@ -449,8 +448,8 @@
android:label="@string/preferences_sync"> android:label="@string/preferences_sync">
<argument <argument
android:name="padSnackbar" android:name="padSnackbar"
app:argType="boolean" android:defaultValue="false"
android:defaultValue="false" /> app:argType="boolean" />
<action <action
android:id="@+id/action_turnOnSyncFragment_to_pairFragment" android:id="@+id/action_turnOnSyncFragment_to_pairFragment"
app:destination="@id/pairFragment" /> app:destination="@id/pairFragment" />
@ -470,8 +469,7 @@
</fragment> </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">
android:label="CrashReporterFragment">
<action <action
android:id="@+id/action_crashReporterFragment_to_homeFragment" android:id="@+id/action_crashReporterFragment_to_homeFragment"
app:destination="@id/homeFragment" app:destination="@id/homeFragment"
@ -486,8 +484,7 @@
android:label="@string/preferences_theme" /> android:label="@string/preferences_theme" />
<fragment <fragment
android:id="@+id/trackingProtectionFragment" android:id="@+id/trackingProtectionFragment"
android:name="org.mozilla.fenix.settings.TrackingProtectionFragment" android:name="org.mozilla.fenix.settings.TrackingProtectionFragment">
android:label="TrackingProtectionFragment">
<action <action
android:id="@+id/action_trackingProtectionFragment_to_exceptionsFragment" android:id="@+id/action_trackingProtectionFragment_to_exceptionsFragment"
app:destination="@id/exceptionsFragment" /> app:destination="@id/exceptionsFragment" />
@ -515,8 +512,7 @@
<dialog <dialog
android:id="@+id/collectionCreationFragment" android:id="@+id/collectionCreationFragment"
android:name="org.mozilla.fenix.collections.CollectionCreationFragment" android:name="org.mozilla.fenix.collections.CollectionCreationFragment"
android:label="fragment_create_collection" tools:layout="@layout/fragment_create_collection">
tools:layout="@layout/fragment_create_collection" >
<argument <argument
android:name="tabIds" android:name="tabIds"
android:defaultValue="@null" android:defaultValue="@null"
@ -544,7 +540,6 @@
<dialog <dialog
android:id="@+id/createShortcutFragment" android:id="@+id/createShortcutFragment"
android:name="org.mozilla.fenix.shortcut.CreateShortcutFragment" android:name="org.mozilla.fenix.shortcut.CreateShortcutFragment"
android:label="fragment_create_shortcut"
tools:layout="@layout/fragment_create_shortcut" /> tools:layout="@layout/fragment_create_shortcut" />
<dialog <dialog
android:id="@+id/shareFragment" android:id="@+id/shareFragment"
@ -555,14 +550,13 @@
app:argType="mozilla.components.concept.engine.prompt.ShareData[]" /> app:argType="mozilla.components.concept.engine.prompt.ShareData[]" />
<argument <argument
android:name="showPage" android:name="showPage"
app:argType="boolean" android:defaultValue="false"
android:defaultValue="false" /> app:argType="boolean" />
<action <action
android:id="@+id/action_shareFragment_to_turnOnSyncFragment" android:id="@+id/action_shareFragment_to_turnOnSyncFragment"
app:destination="@+id/turnOnSyncFragment" app:destination="@+id/turnOnSyncFragment"
app:popUpTo="@id/shareFragment" app:popUpTo="@id/shareFragment"
app:popUpToInclusive="true" > app:popUpToInclusive="true"></action>
</action>
<action <action
android:id="@+id/action_shareFragment_to_accountProblemFragment" android:id="@+id/action_shareFragment_to_accountProblemFragment"
app:destination="@id/accountProblemFragment" /> app:destination="@id/accountProblemFragment" />
@ -570,10 +564,10 @@
android:id="@+id/action_shareFragment_to_addNewDeviceFragment" android:id="@+id/action_shareFragment_to_addNewDeviceFragment"
app:destination="@id/addNewDeviceFragment" /> app:destination="@id/addNewDeviceFragment" />
<argument <argument
android:name="sessionId" android:name="sessionId"
app:argType="string" android:defaultValue="null"
app:nullable="true" app:argType="string"
android:defaultValue="null" /> app:nullable="true" />
</dialog> </dialog>
<dialog <dialog
android:id="@+id/quickSettingsSheetDialogFragment" android:id="@+id/quickSettingsSheetDialogFragment"
@ -615,8 +609,7 @@
app:destination="@id/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">
android:label="TrackingProtectionPanelDialogFragment">
<argument <argument
android:name="sessionId" android:name="sessionId"
app:argType="string" /> app:argType="string" />
@ -636,25 +629,21 @@
</dialog> </dialog>
<fragment <fragment
android:id="@+id/trackingProtectionBlockingFragment" android:id="@+id/trackingProtectionBlockingFragment"
android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionBlockingFragment" android:name="org.mozilla.fenix.trackingprotection.TrackingProtectionBlockingFragment">
android:label="TrackingProtectionBlockingFragment">
<argument <argument
android:name="strictMode" android:name="strictMode"
app:argType="boolean" /> app:argType="boolean" />
</fragment> </fragment>
<fragment <fragment
android:id="@+id/deleteBrowsingDataOnQuitFragment" android:id="@+id/deleteBrowsingDataOnQuitFragment"
android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataOnQuitFragment" android:name="org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataOnQuitFragment" />
android:label="DeleteBrowsingDataOnQuitFragment" />
<fragment <fragment
android:id="@+id/addNewDeviceFragment" android:id="@+id/addNewDeviceFragment"
android:name="org.mozilla.fenix.share.AddNewDeviceFragment" android:name="org.mozilla.fenix.share.AddNewDeviceFragment" />
android:label="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">
android:label="DefaultBrowserSettingsFragment">
<action <action
android:id="@+id/action_defaultBrowserSettingsFragment_to_browserFragment" android:id="@+id/action_defaultBrowserSettingsFragment_to_browserFragment"
app:destination="@id/browserFragment" /> app:destination="@id/browserFragment" />
@ -662,7 +651,6 @@
<fragment <fragment
android:id="@+id/savedLoginsFragment" android:id="@+id/savedLoginsFragment"
android:name="org.mozilla.fenix.logins.SavedLoginsFragment" android:name="org.mozilla.fenix.logins.SavedLoginsFragment"
android:label="fragment_saved_logins"
tools:layout="@layout/fragment_saved_logins"> tools:layout="@layout/fragment_saved_logins">
<action <action
android:id="@+id/action_savedLoginsFragment_to_savedLoginSiteInfoFragment" android:id="@+id/action_savedLoginsFragment_to_savedLoginSiteInfoFragment"
@ -671,7 +659,6 @@
<fragment <fragment
android:id="@+id/savedLoginSiteInfoFragment" android:id="@+id/savedLoginSiteInfoFragment"
android:name="org.mozilla.fenix.logins.SavedLoginSiteInfoFragment" android:name="org.mozilla.fenix.logins.SavedLoginSiteInfoFragment"
android:label="fragment_saved_login_site_info"
tools:layout="@layout/fragment_saved_login_site_info"> tools:layout="@layout/fragment_saved_login_site_info">
<argument <argument
android:name="savedLoginItem" android:name="savedLoginItem"
@ -679,22 +666,18 @@
</fragment> </fragment>
<fragment <fragment
android:id="@+id/addSearchEngineFragment" android:id="@+id/addSearchEngineFragment"
android:name="org.mozilla.fenix.settings.search.AddSearchEngineFragment" android:name="org.mozilla.fenix.settings.search.AddSearchEngineFragment" />
android:label="AddSearchEngineFragment" />
<fragment <fragment
android:id="@+id/editCustomSearchEngineFragment" android:id="@+id/editCustomSearchEngineFragment"
android:name="org.mozilla.fenix.settings.search.EditCustomSearchEngineFragment" android:name="org.mozilla.fenix.settings.search.EditCustomSearchEngineFragment">
android:label="EditCustomSearchEngineFragment">
<argument <argument
android:name="searchEngineIdentifier" android:name="searchEngineIdentifier"
app:argType="string" /> app:argType="string" />
</fragment> </fragment>
<fragment <fragment
android:id="@+id/toolbarSettingsFragment" android:id="@+id/toolbarSettingsFragment"
android:name="org.mozilla.fenix.settings.ToolbarSettingsFragment" android:name="org.mozilla.fenix.settings.ToolbarSettingsFragment" />
android:label="ToolbarSettingsFragment" />
<fragment <fragment
android:id="@+id/localeSettingsFragment" android:id="@+id/localeSettingsFragment"
android:name="org.mozilla.fenix.settings.advanced.LocaleSettingsFragment" android:name="org.mozilla.fenix.settings.advanced.LocaleSettingsFragment" />
android:label="LanguageSettingsFragment" />
</navigation> </navigation>