-
Notifications
You must be signed in to change notification settings - Fork 2
/
AndroidManifest.xml
212 lines (194 loc) · 9.88 KB
/
AndroidManifest.xml
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.bukhmastov.cdoitmo">
<permission android:name="com.bukhmastov.cdoitmo.permission.RECEIVE_SHORTCUT_STATE" android:protectionLevel="signature" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.bukhmastov.cdoitmo.permission.RECEIVE_SHORTCUT_STATE" />
<uses-permission-sdk-23 android:name="android.permission.READ_EXTERNAL_STORAGE" />
<supports-screens
android:anyDensity="true"
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true" />
<application
android:name=".App"
android:label="@string/app_name"
android:theme="@style/AppTheme"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:allowBackup="true"
android:fullBackupContent="@xml/backup_rules"
android:networkSecurityConfig="@xml/network_security_config">
<!-- https://developers.google.com/maps/documentation/android-sdk/config#specify_requirement_for_apache_http_legacy_library -->
<uses-library android:name="org.apache.http.legacy" android:required="false" />
<meta-data
android:name="android.max_aspect"
android:value="2.1" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="AIzaSyAqtKeuOdQ5Qt1mcx3y0w3f4HkCSAwY5Q4" />
<meta-data
android:name="firebase_crashlytics_collection_enabled"
android:value="false" />
<meta-data
android:name="firebase_performance_collection_enabled"
android:value="false" />
<activity
android:name=".activity.MainActivity"
android:theme="@style/AppTheme.Splash"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="com.bukhmastov.cdoitmo.SHORTCUT_OPEN" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
</activity>
<activity
android:name=".activity.FileReceiveActivity"
android:label="@string/handle_file"
android:launchMode="singleTop"
android:noHistory="true" >
<intent-filter android:label="@string/app_name" tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="application/cdoitmo" android:pathPattern=".*\\.cdoitmo" />
</intent-filter>
<intent-filter android:label="@string/app_name" tools:ignore="AppLinkUrlError">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="application/octet-stream" android:pathPattern=".*\\.cdoitmo" />
</intent-filter>
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" android:host="*" android:pathPattern=".*\\.cdoitmo" />
</intent-filter>
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="*" android:pathPattern=".*\\.cdoitmo" />
</intent-filter>
<intent-filter android:label="@string/app_name">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="content" android:host="*" android:pathPattern=".*\\.cdoitmo" />
</intent-filter>
</activity>
<activity
android:name=".activity.LoginActivity"
android:parentActivityName=".activity.MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.bukhmastov.cdoitmo.activity.MainActivity" />
</activity>
<activity
android:name=".activity.FragmentActivity"
android:parentActivityName=".activity.MainActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.bukhmastov.cdoitmo.activity.MainActivity" />
</activity>
<activity
android:name=".activity.PikaActivity"
android:theme="@style/AppTheme.Transparent" />
<activity android:name=".activity.search.ScheduleLessonsSearchActivity" />
<activity android:name=".activity.search.ScheduleExamsSearchActivity" />
<activity android:name=".activity.search.ScheduleAttestationsSearchActivity" />
<service
android:name=".object.ProtocolTrackerJobService"
android:enabled="true"
android:exported="true"
android:permission="android.permission.BIND_JOB_SERVICE" />
<activity
android:name=".activity.ShortcutReceiverActivity"
android:theme="@android:style/Theme.NoDisplay"
android:noHistory="true" >
<intent-filter>
<action android:name="com.bukhmastov.cdoitmo.CLICK_SHORTCUT" />
</intent-filter>
</activity>
<receiver
android:name=".receiver.ShortcutReceiver"
android:permission="com.bukhmastov.cdoitmo.permission.RECEIVE_SHORTCUT_STATE"
android:exported="true" >
<intent-filter>
<action android:name="com.bukhmastov.cdoitmo.CLICK_SHORTCUT" />
<action android:name="com.bukhmastov.cdoitmo.ADD_SHORTCUT" />
<action android:name="com.bukhmastov.cdoitmo.REMOVE_SHORTCUT" />
<action android:name="com.bukhmastov.cdoitmo.SHORTCUT_INSTALLED" />
</intent-filter>
</receiver>
<receiver android:name=".widget.ScheduleLessonsWidget" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="com.bukhmastov.cdoitmo.ACTION_WIDGET_UPDATE" />
<action android:name="com.bukhmastov.cdoitmo.ACTION_WIDGET_OPEN" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/schedule_lessons_widget_info" />
</receiver>
<activity android:name=".activity.ScheduleLessonsWidgetConfigureActivity" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
</intent-filter>
</activity>
<service
android:name=".widget.ScheduleLessonsWidgetService"
android:permission="android.permission.BIND_REMOTEVIEWS" />
<activity
android:name=".activity.TimeRemainingWidgetActivity"
android:theme="@style/AppTheme.Popup"
android:launchMode="singleTop"
android:noHistory="true" />
<activity
android:name=".activity.DaysRemainingWidgetActivity"
android:theme="@style/AppTheme.Popup"
android:launchMode="singleTop"
android:noHistory="true" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.bukhmastov.cdoitmo.fileprovider"
android:grantUriPermissions="true"
android:exported="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>
<service
android:name=".firebase.FirebaseMessagingServiceProvider"
android:exported="false">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/cdo" />
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="system" />
<activity
android:name=".activity.UniversityPersonCardActivity"
android:theme="@style/AppTheme.TransparentStatusBar"/>
<activity android:name=".activity.WebViewActivity" />
<activity
android:name=".activity.IntroducingActivity"
android:theme="@style/AppTheme.TransparentStatusBar"/>
</application>
</manifest>