• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  ~
17  ~
18  -->
19<navigation xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    android:id="@+id/permissions_nav_graph"
22    app:startDestination="@id/allDataFragment">
23
24    <include app:graph="@navigation/fitness_app_nav_graph"/>
25    <include app:graph="@navigation/medical_app_nav_graph"/>
26    <include app:graph="@navigation/combined_permissions_nav_graph"/>
27    <include app:graph="@navigation/connected_apps_nav_graph"/>
28    <include app:graph="@navigation/data_sources_nav_graph"/>
29    <include app:graph="@navigation/entries_and_access_nav_graph"/>
30
31    <fragment
32        android:id="@+id/allDataFragment"
33        android:label="@string/data_title"
34        android:name="com.android.healthconnect.controller.data.alldata.AllDataFragment">
35        <action
36            android:id="@+id/action_allData_to_entriesAndAccess"
37            app:destination="@id/entries_and_access_nav_graph" />
38        <action
39            android:id="@+id/action_allDataFragment_to_dataSourcesFragment"
40            app:destination="@id/data_sources_nav_graph"/>
41        <action
42            android:id="@+id/action_allDataFragment_to_connectedApps"
43            app:destination="@id/connected_apps_nav_graph" />
44    </fragment>
45
46</navigation>