-
Notifications
You must be signed in to change notification settings - Fork 30
/
AndroidManifest.xml
333 lines (287 loc) · 20.5 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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="edu.mit.mitmobile2"
android:versionCode="17"
android:installLocation="auto"
android:versionName="2.5.2"
>
<!-- targetSdkVersion must remain < 11 in order for the menu to work correctly on 4.0+ devices -->
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10"></uses-sdk>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permission>
<uses-permission android:name="android.permission.READ_CONTACTS"></uses-permission>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
<uses-permission android:name="android.permission.READ_CALENDAR"></uses-permission>
<uses-permission android:name="android.permission.WRITE_CALENDAR"></uses-permission>
<uses-permission android:name="android.permission.VIBRATE"></uses-permission>
<!-- Only this application can receive the messages and registration result -->
<permission android:name="edu.mit.mitmobile2.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="edu.mit.mitmobile2.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<supports-screens android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" />
<application android:label="@string/app_name"
android:name=".Global"
android:icon="@drawable/ic_launcher"
android:theme="@style/Main"
android:hardwareAccelerated="true"
android:allowBackup="true">
<activity android:name=".HomeScreenActivity"
android:screenOrientation="portrait"
android:alwaysRetainTaskState="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="mitmobile" />
</intent-filter>
</activity>
<activity android:name="com.google.zxing.client.android.CaptureActivity"
android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<action android:name="com.google.zxing.client.android.SCAN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name=".alerts.BootReceiver" android:enabled="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.HOME" />
</intent-filter>
</receiver>
<!-- Only C2DM servers can send messages for the app. If permission is not set - any other app can generate it -->
<receiver android:name=".alerts.C2DMReceiver" android:permission="com.google.android.c2dm.permission.SEND">
<!-- Receive the actual message -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="edu.mit.mitmobile2" />
</intent-filter>
<!-- Receive the registration id -->
<intent-filter>
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="edu.mit.mitmobile2" />
</intent-filter>
</receiver>
<activity android:name=".tour.TourCameraActivity"/>
<activity android:name=".mit150.MainMIT150Activity" android:screenOrientation="portrait"/>
<activity android:name=".mit150.MIT150WelcomeActivity" android:screenOrientation="portrait" />
<activity android:name=".mit150.MIT150VideoActivity" android:screenOrientation="landscape" />
<activity android:name=".mit150.CorridorListActivity" />
<activity android:name=".mit150.CorridorStorySliderActivity" android:theme="@style/PlainBackground" />
<uses-library android:name="com.google.android.maps" />
<activity android:name=".maps.MITMapActivity"
android:launchMode="singleTop"
android:exported="false"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/maps_searchable" />
</activity>
<activity android:name=".maps.MITMapBrowseCatsActivity">
<meta-data android:name="android.app.default_searchable" android:value=".maps.MITMapActivity" />
</activity>
<activity android:name=".maps.MITMapBrowseSubCatsActivity">
<meta-data android:name="android.app.default_searchable" android:value=".maps.MITMapActivity" />
</activity>
<activity android:name=".maps.MITMapBrowseResultsActivity">
<meta-data android:name="android.app.default_searchable" android:value=".maps.MITMapActivity" />
</activity>
<activity android:name=".maps.MITMapDetailsSliderActivity" android:theme="@style/PlainBackground" android:screenOrientation="portrait">
<meta-data android:name="android.app.default_searchable" android:value=".maps.MITMapActivity" />
</activity>
<provider android:name=".maps.MapsSearchSuggestionsProvider" android:authorities="edu.mit.mitmobile2.maps.SuggestionsProvider" />
<activity android:name=".maps.MapBookmarksActivity" android:launchMode="singleTop" android:theme="@style/PlainBackground" />
<activity android:name=".maps.NewMapActivity">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/maps_searchable" />
</activity>
<activity android:name=".events.EventsTopActivity">
<meta-data android:name="android.app.default_searchable" android:value=".events.EventsSearchActivity" />
</activity>
<activity android:name=".events.EventsSearchActivity"
android:launchMode="singleTop"
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/PlainBackground">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/events_searchable" />
</activity>
<activity android:name=".events.MITEventsDaysSliderActivity" android:theme="@style/PlainBackground" android:configChanges="orientation">
<meta-data android:name="android.app.default_searchable" android:value=".events.EventsSearchActivity" />
</activity>
<activity android:name=".events.EventsCategoryActivity">
<meta-data android:name="android.app.default_searchable" android:value=".events.EventsSearchActivity" />
</activity>
<activity android:name=".events.EventsSimpleCategoryActivity">
<meta-data android:name="android.app.default_searchable" android:value=".events.EventsSearchActivity" />
</activity>
<activity android:name=".events.MITEventsSliderActivity" android:configChanges="orientation">
<meta-data android:name="android.app.default_searchable" android:value=".events.EventsSearchActivity" />
</activity>
<provider android:name=".events.EventsSearchSuggestionsProvider" android:authorities="edu.mit.mitmobile2.events.SuggestionsProvider" />
<activity android:name=".shuttles.ShuttlesActivity"
android:screenOrientation="portrait"
android:label="Shuttles"
android:taskAffinity="edu.mit.mitmobile2.shuttles"/>
<activity android:name=".shuttles.MITStopsSliderActivity" android:launchMode="singleTop" android:screenOrientation="portrait"/>
<activity android:name=".shuttles.MITRoutesSliderActivity" android:launchMode="singleTop" android:screenOrientation="portrait"/>
<activity android:name=".shuttles.ShuttlesMapActivity" android:launchMode="singleTop" android:configChanges="orientation"/>
<activity android:name=".people.PeopleActivity">
<meta-data android:name="android.app.default_searchable" android:value=".people.PeopleSearchActivity" />
</activity>
<activity android:name=".people.PeopleSearchActivity"
android:launchMode="singleTop"
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/PlainBackground">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/people_searchable" />
</activity>
<provider android:name=".people.PeopleSearchSuggestionsProvider" android:authorities="edu.mit.mitmobile2.people.SuggestionsProvider" />
<activity android:name=".people.PeopleDetailActivity" android:configChanges="orientation">
<meta-data android:name="android.app.default_searchable" android:value=".people.PeopleSearchActivity" />
</activity>
<activity android:name="edu.mit.mitmobile2.news.view.NewsTopListActivity" android:theme="@style/PlainBackground" android:configChanges="orientation">
<meta-data android:name="android.app.default_searchable" android:value=".news.view.NewsSearchActivity" />
</activity>
<activity android:name=".news.view.NewsCategoryListActivity" android:theme="@style/PlainBackground" android:configChanges="orientation">
<meta-data android:name="android.app.default_searchable" android:value=".news.view.NewsSearchActivity" />
</activity>
<activity android:name="edu.mit.mitmobile2.news.view.NewsSearchActivity"
android:launchMode="singleTop"
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/PlainBackground">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/news_searchable" />
</activity>
<provider android:name="edu.mit.mitmobile2.news.view.NewsSearchSuggestionsProvider" android:authorities="edu.mit.mitmobile2.news.SuggestionsProvider" />
<activity android:name=".news.view.NewsDetailsActivity" android:theme="@style/PlainBackground" android:configChanges="orientation">
<meta-data android:name="android.app.default_searchable" android:value=".news.view.NewsSearchActivity" />
</activity>
<activity android:name="edu.mit.mitmobile2.news.view.NewsImageActivity" android:theme="@style/PlainBackground">
<meta-data android:name="android.app.default_searchable" android:value=".news.view.NewsSearchActivity" />
</activity>
<activity android:name=".emergency.EmergencyActivity" android:theme="@style/PlainBackground" />
<activity android:name=".emergency.EmergencyContactsActivity" android:theme="@style/PlainBackground" />
<activity android:name=".tour.MainTourActivity" android:screenOrientation="portrait"/>
<activity android:name=".tour.TourIntroductionActivity" android:theme="@style/PlainBackground" android:screenOrientation="portrait"/>
<activity android:name=".tour.MITIntroductionActivity" android:theme="@style/PlainBackground" android:screenOrientation="portrait"/>
<activity android:name=".tour.TourStopSliderActivity" android:theme="@style/PlainBackground" android:screenOrientation="portrait"/>
<activity android:name=".tour.TourSideTripActivity" android:screenOrientation="portrait"/>
<activity android:name=".tour.TourMapActivity" android:process=":tourmap" android:screenOrientation="portrait"/>
<activity android:name=".tour.TourStartHelpActivity" android:screenOrientation="portrait"/>
<activity android:name=".qrreader.QRReaderMainActivity" android:screenOrientation="portrait" android:process=":qrreader" android:hardwareAccelerated="false" />
<activity android:name=".qrreader.QRReaderDetailActivity" android:screenOrientation="portrait" android:process=":qrreader" />
<activity android:name=".qrreader.QRReaderHistoryActivity" android:screenOrientation="portrait" android:process=":qrreader" />
<activity android:name=".qrreader.QRReaderHelpActivity" android:screenOrientation="portrait" android:process=":qrreader" />
<activity android:name=".SettingsActivity" android:theme="@android:style/Theme.Light" />
<!-- FACILITIES -->
<activity android:name=".facilities.FacilitiesActivity" />
<activity android:name=".facilities.FacilitiesInfoActivity" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesProblemTypeActivity" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesProblemLocationActivity" android:windowSoftInputMode="stateHidden" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesLocationsForCategoryActivity" android:windowSoftInputMode="stateHidden" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesRoomLocationsActivity" android:windowSoftInputMode="stateHidden" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesInsideOutsideActivity" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesDetailsActivity" android:windowSoftInputMode="stateHidden" android:screenOrientation="portrait" />
<activity android:name=".facilities.FacilitiesUseMyLocationActivity" android:theme="@style/PlainBackground" />
<activity android:name=".facilities.FacilitiesLeasedBuildingActivity" />
<activity android:name=".facilities.FacilitiesUploadSuccessModuleActivity" />
<!-- SETTINGS -->
<activity android:name=".settings.MITSettingsActivity" />
<!-- TOUCHSTONE -->
<activity android:name=".touchstone.TouchstoneActivity" android:launchMode="singleTop" />
<activity android:name=".touchstone.TouchstonePrefsActivity" android:launchMode="singleTop"></activity>
<!-- LIBRARIES -->
<activity android:name=".libraries.LibrariesActivity" />
<!-- DINING -->
<activity android:name=".dining.DiningHomeActivity" android:screenOrientation="portrait" />
<activity android:name=".dining.DiningMapActivity" />
<activity android:name=".dining.DiningScheduleActivity" />
<activity android:name=".dining.DiningHouseInfoActivity" android:screenOrientation="portrait" />
<activity android:name=".dining.DiningRetailInfoActivity" android:screenOrientation="portrait" />
<activity android:name=".dining.DiningFilterActivity" />
<activity android:name=".dining.SimpleSingleWebViewActivity" />
<activity android:name=".about.AboutActivity" />
<activity android:name=".about.AboutMITActivity" />
<activity android:name=".about.AboutCreditsActivity" />
<receiver android:name=".alerts.NotificationsAlarmReceiver" class=".NotificationsAlarmReceiver" />
<!--
<service android:name=".UpdateService" class=".UpdateService" />
<service android:name=".UpdateService" android:enabled="true" >
<intent-filter>
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</service>
<service android:name=".UpdateService" class="UpdateService" android:enabled="true" />
<service android:name=".UpdateService" android:enabled="true" />
<intentservice android:name=".UpdateService" android:enabled="true" />
-->
<service android:name=".alerts.NotificationService" android:enabled="true" ></service>
<provider android:name=".WebImageCacheProvider" android:authorities="edu.mit.mitmobile2.WebImageCacheProvider" />
<activity android:name=".PrefsActivity"></activity>
<activity android:name=".libraries.LibraryActivity" android:screenOrientation="portrait">
<meta-data android:name="android.app.default_searchable" android:value=".libraries.LibrarySearchActivity" />
</activity>
<activity android:name=".libraries.LibrarySearchActivity"
android:launchMode="singleTop"
android:windowSoftInputMode="stateAlwaysHidden"
android:theme="@style/PlainBackground">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/library_searchable" />
</activity>
<provider android:name=".libraries.LibrarySearchSuggestionsProvider" android:authorities="edu.mit.mitmobile2.libraries.SuggestionsProvider" />
<activity android:name=".libraries.LibraryLocationAndHour"></activity>
<activity android:name=".libraries.LibraryDetailActivity"></activity>
<activity android:name=".libraries.BookDetailActivity">
<meta-data android:name="android.app.default_searchable" android:value=".libraries.LibrarySearchActivity" />
</activity>
<activity android:name=".libraries.LibraryBLCHoldingsActivity">
<meta-data android:name="android.app.default_searchable" android:value=".libraries.LibrarySearchActivity" />
</activity>
<activity android:name=".libraries.LibrariesHoldingsSliderActivity">
<meta-data android:name="android.app.default_searchable" android:value=".libraries.LibrarySearchActivity" />
</activity>
<activity android:name=".libraries.AskUsActivity" android:windowSoftInputMode="stateHidden"></activity>
<activity android:name=".libraries.TellUsActivity" android:windowSoftInputMode="stateHidden"></activity>
<activity android:name=".libraries.AskUsTopActivity"></activity>
<activity android:name=".libraries.AppointmentActivity" android:windowSoftInputMode="stateHidden"></activity>
<activity android:name=".libraries.LibraryYourAccount" android:screenOrientation="portrait"></activity>
<activity android:name=".libraries.LibraryLoans"></activity>
<activity android:name=".libraries.LibraryLoanDetail"></activity>
<activity android:name=".libraries.LibraryRenewBooks"></activity>
<activity android:name=".libraries.LibraryRenewDetail"></activity>
<activity android:name=".libraries.LibraryHolds"></activity>
<activity android:name=".libraries.LibraryHoldDetail"></activity>
<activity android:name=".libraries.LibraryFines"></activity>
<activity android:name=".libraries.LibraryFineDetail"></activity>
<activity android:name=".links.LinksActivity"></activity>
</application>
</manifest>