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/export_nav_graph"
19    app:startDestination="@id/exportFrequencyFragment">
20
21    <fragment
22        android:id="@+id/exportFrequencyFragment"
23        android:name="com.android.healthconnect.controller.exportimport.ExportFrequencyFragment">
24        <action
25            android:id="@+id/action_exportFrequencyFragment_to_exportDestinationFragment"
26            app:destination="@id/exportDestinationFragment" />
27    </fragment>
28
29    <fragment
30        android:id="@+id/exportDestinationFragment"
31        android:name="com.android.healthconnect.controller.exportimport.ExportDestinationFragment">
32        <action
33            android:id="@+id/action_exportDestinationFragment_to_exportFrequencyFragment"
34            app:destination="@id/exportFrequencyFragment" />
35        <action
36            android:id="@+id/action_exportDestinationFragment_to_playStore"
37            app:destination="@id/play_store_activity" />
38    </fragment>
39
40    <activity
41        android:id="@+id/play_store_activity"
42        app:action="android.intent.action.VIEW"
43        android:label="@string/playstore_app_title"
44        app:data="@string/playstore_url"
45        app:targetPackage="@string/playstore_package_name" />
46</navigation>
47