summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation/nav_graph.xml
blob: 1047da668f78ab6eb68be123a66f6f7865453984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2023 MURENA SAS
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  -->
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/nav_graph"
    app:startDestination="@id/dashboardFragment"
    >

    <fragment
        android:id="@+id/dashboardFragment"
        android:name="foundation.e.advancedprivacy.features.dashboard.DashboardFragment"
        android:label="@string/app_name"
        >
        <action
            android:id="@+id/goto_trackersFragment"
            app:destination="@id/trackersFragment"
            />
        <action
            android:id="@+id/goto_fakeLocationFragment"
            app:destination="@id/fakeLocationFragment"
            />
        <action
            android:id="@+id/goto_internetPrivacyFragment"
            app:destination="@id/internetPrivacyFragment"
            />
        <action
            android:id="@+id/goto_appTrackersFragment"
            app:destination="@id/appTrackersFragment"
            />
        <action
            android:id="@+id/goto_settingsPermissionsActivity"
            app:destination="@id/settingsPermissionsActivity"
            />
        <argument
            android:name="highlightLeaks"
            app:argType="integer"
            android:defaultValue="-1"
            />
    </fragment>
    <fragment
        android:id="@+id/trackersFragment"
        android:name="foundation.e.advancedprivacy.features.trackers.TrackersFragment"
        android:label="@string/trackers_title"
        >
        <action
            android:id="@+id/goto_appTrackersFragment"
            app:destination="@id/appTrackersFragment"
            />
        <action
            android:id="@+id/goto_trackerDetailsFragment"
            app:destination="@id/trackerDetailsFragment" />
    </fragment>
    <fragment
        android:id="@+id/appTrackersFragment"
        android:name="foundation.e.advancedprivacy.features.trackers.apptrackers.AppTrackersFragment"
        android:label="AppTrackersFragment"
        >
        <argument
            android:name="appUid"
            app:argType="integer"
            android:defaultValue="1000"
            />
    </fragment>
    <fragment
        android:id="@+id/trackerDetailsFragment"
        android:name="foundation.e.advancedprivacy.features.trackers.trackerdetails.TrackerDetailsFragment"
        android:label="TrackerDetailsFragment">
        <argument
            android:name="trackerId"
            app:argType="string" />
    </fragment>
    <fragment
        android:id="@+id/fakeLocationFragment"
        android:name="foundation.e.advancedprivacy.features.location.FakeLocationFragment"
        android:label="@string/location_title"
        />
    <fragment
        android:id="@+id/internetPrivacyFragment"
        android:name="foundation.e.advancedprivacy.features.internetprivacy.InternetPrivacyFragment"
        android:label="@string/ipscrambling_title"
        />
    <activity
        android:id="@+id/settingsPermissionsActivity"
        android:label="@string/dashboard_apps_permissions_title"
        app:action="android.intent.action.MANAGE_PERMISSIONS"
    />
</navigation>