1<?xml version="1.0" encoding="utf-8"?><!-- 2 Copyright (C) 2022 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<navigation xmlns:android="http://schemas.android.com/apk/res/android" 17 xmlns:app="http://schemas.android.com/apk/res-auto" 18 android:id="@+id/settings_nav_graph" 19 app:startDestination="@id/settingsManagePermissionFragment"> 20 21 <action 22 android:id="@+id/action_deeplink_to_settingsManageAppPermissionsFragment" 23 app:destination="@+id/settingsManageAppPermissionsFragment" 24 app:popUpTo="@+id/settingsManagePermissionFragment" 25 app:popUpToInclusive="true" /> 26 27 <fragment 28 android:id="@+id/settingsManagePermissionFragment" 29 android:name="com.android.healthconnect.controller.permissions.connectedapps.SettingsManagePermissionFragment" 30 android:label="@string/app_label"> 31 <action 32 android:id="@+id/action_settingsManagePermission_to_settingsManageAppPermissions" 33 app:destination="@id/settingsManageAppPermissionsFragment" /> 34 </fragment> 35 36 <fragment 37 android:id="@+id/settingsManageAppPermissionsFragment" 38 android:name="com.android.healthconnect.controller.permissions.app.SettingsManageAppPermissionsFragment" 39 android:label="@string/app_label"> 40 <argument 41 android:name="android.intent.extra.PACKAGE_NAME" 42 app:argType="string" /> 43 <action 44 android:id="@+id/action_manageAppFragment_to_additionalAccessFragment" 45 app:destination="@id/additionalAccessFragment" /> 46 </fragment> 47 <fragment 48 android:id="@+id/additionalAccessFragment" 49 android:name="com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessFragment" 50 android:label="@string/additional_access_label" > 51 <argument 52 android:name="android.intent.extra.PACKAGE_NAME" 53 app:argType="string" /> 54 </fragment> 55</navigation> 56