1<?xml version="1.0" encoding="utf-8"?><!-- 2 Copyright (C) 2024 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/medical_app_nav_graph" 19 app:startDestination="@id/medicalAppFragment"> 20 21 <include app:graph="@navigation/app_data_nav_graph"/> 22 23 <fragment 24 android:id="@+id/medicalAppFragment" 25 android:label="@string/app_access_title" 26 android:name="com.android.healthconnect.controller.permissions.app.MedicalAppFragment"> 27 <argument 28 android:name="android.intent.extra.PACKAGE_NAME" 29 app:argType="string" /> 30 <action 31 android:id="@+id/action_medicalApp_to_appData" 32 app:destination="@id/app_data_nav_graph" /> 33 <action 34 android:id="@+id/action_medicalAppFragment_to_additionalAccessFragment" 35 app:destination="@id/additionalAccessFragment" /> 36 </fragment> 37 38 <fragment 39 android:id="@+id/additionalAccessFragment" 40 android:name="com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessFragment" 41 android:label="@string/additional_access_label" > 42 <argument 43 android:name="android.intent.extra.PACKAGE_NAME" 44 app:argType="string" /> 45 </fragment> 46</navigation>