Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
translate ▾

Modern-Apps.git / auto / src / main / AndroidManifest.xml

AndroidManifest.xml473 lines · 27.0 KiBRaw
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 xmlns:tools="http://schemas.android.com/tools">
4
5 <!-- The projection session outlives any activity: it is bound to the cable or the wireless
6 link, not to a screen the user is looking at. -->
7 <uses-feature android:name="android.hardware.telephony" android:required="false" />
8 <uses-feature android:name="android.hardware.bluetooth" android:required="false" />
9 <uses-feature android:name="android.hardware.wifi" android:required="false" />
10 <uses-feature android:name="android.hardware.wifi.direct" android:required="false" />
11
12 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
13 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
14 <!-- Sensors permission at install instead of auto-granting it. -->
15 <!-- ProtectedPermissions: this app is the MAOS system car host (priv-app); the
16 signature|privileged permissions below are granted by the OS image and every
17 use is additionally runtime-checked, so the lint warning is a false positive. -->
18 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
19
20 <!-- Guard for the exported head-unit startup chain (CarStartupService).
21 signature|privileged: only Modern-Apps-signed callers or a privileged
22 system/head-unit caller (granted via the MAOS priv-app allowlist after
23 it declares this permission) may wake projection/USB bring-up. An
24 ordinary third-party app cannot obtain it. This app declares it too so
25 its own exported-surface funnels hold it explicitly. -->
26 <permission
27 android:name="com.vayunmathur.auto.permissions.START_PROJECTION_CHAIN"
28 android:protectionLevel="signature|privileged" />
29 <uses-permission android:name="com.vayunmathur.auto.permissions.START_PROJECTION_CHAIN" />
30
31 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
32 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" />
33 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
34 <uses-permission android:name="android.permission.WAKE_LOCK" />
35 <!-- The head unit connects in over TCP. For the Desktop Head Unit that is an adb forward
36 to loopback; for a real car it is the wireless link. -->
37 <uses-permission android:name="android.permission.INTERNET" />
38 <!-- Bringing up the WiFi link to a wireless head unit. This is also what qualifies
39 ProjectionService for the connectedDevice foreground type: that check accepts a USB
40 accessory only when one is physically attached and permission-granted, so the USB
41 filter below does not satisfy it on its own. -->
42 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
43 <!-- WiFi Direct discovery toward the wireless head unit, plus the Bluetooth
44 scan that finds it. Both are runtime-gated on the pairing screen
45 (NEARBY_WIFI_DEVICES covers the WiFi half on S+). -->
46 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
47 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
48 <!-- Android 12+ requires COARSE alongside FINE; the guidance monitor
49 degrades to last-known without either (fail-closed), never crashes. -->
50 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
51 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
52 <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" />
53 <!-- Restart the projection listener after a reboot; the session is bound to
54 the cable or the wireless link, not to an activity. -->
55 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
56 <!-- Retaining a car-mic voice turn for transcription. The ch6 channel
57 itself needs no permission (chunks are acked and counted regardless);
58 without this grant the phone keeps no voice data (fail-closed). -->
59 <uses-permission android:name="android.permission.RECORD_AUDIO" />
60 <!-- Music capture into the ch5 media sink: AudioPlaybackCapture of the USAGE_MEDIA
61 mix needs the media-projection consent dialog, whose foreground service type
62 is mediaProjection. The capture runs only while consented in-app AND granted
63 here; either off means fail-closed silence on the head unit. -->
64 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
65 <!-- Background survival on API 34+ without a visible activity: the
66 projection service declares the connectedDevice type (permission
67 declared up top with the base FOREGROUND_SERVICE). The old
68 microphone/location types are gone (see the service declaration):
69 nothing captures device audio or reads device location directly,
70 and claiming them crashed cold start on fresh installs. The runtime
71 RECORD_AUDIO / location grants still gate their own features (ch6
72 retention, ch7 phone seed) and are requested in-app. -->
73 <!-- Wireless bring-up (BT_START -> RFCOMM -> TCP): discovery, association
74 and the socket all need the Bluetooth family. The CDM trigger
75 (CarCompanionDeviceService) additionally needs the association trio
76 below; the pairing-screen stand-in path needs SCAN+CONNECT. -->
77 <uses-permission android:name="android.permission.BLUETOOTH" />
78 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
79 <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
80 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
81 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" tools:ignore="ProtectedPermissions" />
82 <uses-permission android:name="android.permission.LOCAL_MAC_ADDRESS" tools:ignore="ProtectedPermissions" />
83 <!-- Projected calls + message/call templates: the InCall pair
84 (CarProjection/non-car) and reading the threads the mirror posts.
85 Without these the call UI stays on the phone and restricted message
86 data never reaches the car (fail-closed silence). -->
87 <uses-permission android:name="android.permission.CALL_PHONE" />
88 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
89 <uses-permission android:name="android.permission.READ_CALL_LOG" />
90 <uses-permission android:name="android.permission.READ_CONTACTS" />
91 <uses-permission android:name="android.permission.RECEIVE_SMS" />
92 <uses-permission android:name="android.permission.SEND_SMS" />
93 <uses-permission android:name="android.permission.READ_CALENDAR" />
94 <uses-permission android:name="android.permission.RECEIVE_SENSITIVE_NOTIFICATIONS" tools:ignore="ProtectedPermissions" />
95 <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" tools:ignore="ProtectedPermissions" />
96 <!-- Wired auto-launch/role-switch/reset: the USB receivers and the reset
97 chain. Privapp-gated (see the allowlist note below): without the
98 allowlist entry this is inert and USB falls back to the plain
99 attach/permission/open path, which needs no privileged grant. -->
100 <uses-permission android:name="android.permission.MANAGE_USB" tools:ignore="ProtectedPermissions" />
101 <!-- Audio routing + telephony/in-call control + background launch: the
102 sinks route to the car speakers (not the phone), the InCall pair
103 controls the call, and background starts fire the startup chain.
104 Privapp-gated like MANAGE_USB (see below). -->
105 <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING" tools:ignore="ProtectedPermissions" />
106 <uses-permission android:name="android.permission.TETHER_PRIVILEGED" tools:ignore="ProtectedPermissions" />
107 <uses-permission android:name="android.permission.POWER_SAVER" tools:ignore="ProtectedPermissions" />
108 <uses-permission android:name="android.permission.MANAGE_USERS" tools:ignore="ProtectedPermissions" />
109 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" tools:ignore="ProtectedPermissions" />
110 <uses-permission android:name="android.permission.CHANGE_COMPONENT_ENABLED_STATE" tools:ignore="ProtectedPermissions" />
111 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" tools:ignore="ProtectedPermissions" />
112 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" tools:ignore="ProtectedPermissions" />
113 <uses-permission android:name="android.permission.CALL_PRIVILEGED" tools:ignore="ProtectedPermissions" />
114 <!-- Trusted display + projection control + secure capture: the virtual
115 display route (TRUSTED vs PRIVATE), the projection toggle, and
116 secure surfaces. Without these the display stays private-only and
117 secure content renders black on the head unit. -->
118 <uses-permission android:name="android.permission.ADD_TRUSTED_DISPLAY" tools:ignore="ProtectedPermissions" />
119 <uses-permission android:name="android.permission.ADD_ALWAYS_UNLOCKED_DISPLAY" tools:ignore="ProtectedPermissions" />
120 <uses-permission android:name="android.permission.CREATE_VIRTUAL_DEVICE" />
121 <uses-permission android:name="android.permission.TOGGLE_AUTOMOTIVE_PROJECTION" tools:ignore="ProtectedPermissions" />
122 <uses-permission android:name="android.permission.CAPTURE_SECURE_VIDEO_OUTPUT" tools:ignore="ProtectedPermissions" />
123 <!-- Companion-device trigger for wireless: the CDM service
124 (CarCompanionDeviceService) associates with the automotive-projection
125 profile and fires the BT_START chain. Without these the association
126 never forms and wireless stays on the pairing-screen stand-in. -->
127 <uses-permission android:name="android.permission.ASSOCIATE_COMPANION_DEVICES" />
128 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_AUTOMOTIVE_PROJECTION" />
129 <uses-permission android:name="android.permission.REQUEST_COMPANION_SELF_MANAGED" tools:ignore="ProtectedPermissions" />
130 <uses-permission android:name="android.permission.COMPANION_APPROVE_WIFI_CONNECTIONS" tools:ignore="ProtectedPermissions" />
131 <uses-permission android:name="android.permission.REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE" />
132 <!-- Background/trusted launch: the startup chain (BT_START,
133 START_USB_PROJECTION, deep links) and car-mode entry fire without a
134 visible activity. Without these the chain can only start while the
135 app is foreground. -->
136 <uses-permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND" tools:ignore="ProtectedPermissions" />
137 <uses-permission android:name="android.permission.ENTER_CAR_MODE_PRIORITIZED" tools:ignore="ProtectedPermissions" />
138 <uses-permission android:name="android.permission.INTERACT_ACROSS_PROFILES" tools:ignore="ProtectedPermissions" />
139 <!-- Do-not-disturb state for the rail status cluster (DND icon): reading
140 the interruption filter needs the policy grant; without it the icon
141 stays gone (fail-closed), like every other absent source. -->
142 <uses-permission android:name="android.permission.ACCESS_NOTIFICATION_POLICY" />
143 <!-- Privapp allowlist half (mirrors the MAOS role half in MaosRole):
144 com.vayunmathur.auto must additionally allowlist MANAGE_USB,
145 MODIFY_AUDIO_ROUTING, TETHER_PRIVILEGED, CALL_PRIVILEGED,
146 POWER_SAVER, READ_PRIVILEGED_PHONE_STATE,
147 CHANGE_COMPONENT_ENABLED_STATE, MANAGE_USERS,
148 CAPTURE_SECURE_VIDEO_OUTPUT, BLUETOOTH_PRIVILEGED,
149 CONTROL_INCALL_EXPERIENCE and MODIFY_PHONE_STATE. Both halves are
150 boot-fatal if wrong: land one at a time. Gearhead's GMS-signed
151 host permissions (NAVIGATION_TEMPLATES, ACCESS_SURFACE,
152 GEARHEAD_SERVICE, START_PROJECTED_ACTIVITY) are not declarable by
153 third parties and stay absent on purpose. -->
154
155 <!-- The car launcher resolves Maps / Music / dialer through PackageManager. Android 11+
156 hides other apps by default, so these queries keep those lookups visible. The media
157 monitor also resolves the music browser service through getServiceInfo, which needs
158 no query entry, but the explicit package row keeps the intent clear. -->
159 <queries>
160 <package android:name="com.vayunmathur.maps" />
161 <package android:name="com.vayunmathur.music" />
162 <package android:name="com.vayunmathur.communicate" />
163 <intent>
164 <action android:name="android.media.browse.MediaBrowserService" />
165 </intent>
166 <intent>
167 <action android:name="android.intent.action.DIAL" />
168 <data android:scheme="tel" />
169 </intent>
170 <!-- Third-party car apps: the launcher discovers CarAppService
171 implementations per category (navigation, POI, IoT, weather) and
172 hosts their templates generically. -->
173 <intent>
174 <action android:name="androidx.car.app.CarAppService" />
175 <category android:name="androidx.car.app.category.NAVIGATION" />
176 </intent>
177 <intent>
178 <action android:name="androidx.car.app.CarAppService" />
179 <category android:name="androidx.car.app.category.POI" />
180 </intent>
181 <intent>
182 <action android:name="androidx.car.app.CarAppService" />
183 <category android:name="androidx.car.app.category.IOT" />
184 </intent>
185 <intent>
186 <action android:name="androidx.car.app.CarAppService" />
187 <category android:name="androidx.car.app.category.WEATHER" />
188 </intent>
189 <intent>
190 <action android:name="androidx.car.app.CarAppService" />
191 <category android:name="androidx.car.app.category.MESSAGING" />
192 </intent>
193 </queries>
194
195 <application
196 android:allowBackup="true"
197 android:dataExtractionRules="@xml/data_extraction_rules"
198 android:icon="@mipmap/ic_launcher"
199 android:label="@string/app_name"
200 android:roundIcon="@mipmap/ic_launcher"
201 android:supportsRtl="true"
202 android:theme="@style/Theme.General">
203
204 <activity
205 android:name=".MainActivity"
206 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
207 android:exported="true"
208 android:launchMode="singleTop"
209 android:theme="@style/Theme.General">
210 <intent-filter>
211 <action android:name="android.intent.action.MAIN" />
212 <category android:name="android.intent.category.LAUNCHER" />
213 </intent-filter>
214 <!-- Plugging into a head unit puts the phone into AOAP accessory mode and
215 Android hands the connection to whoever matches, which is also how the app
216 gets launched on plug-in. -->
217 <intent-filter>
218 <action android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED" />
219 </intent-filter>
220 <meta-data
221 android:name="android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
222 android:resource="@xml/usb_accessory_filter" />
223 </activity>
224
225 <!-- No `microphone`/`location` types: the service never captures
226 device audio or reads device location directly. The ch6 mic path
227 reads GAL chunks off the socket (acked/counted permission-free;
228 RECORD_AUDIO gates only in-memory retention), and the ch7 phone
229 seed flows through `NavGuidanceMonitor` (all `runCatching`-
230 guarded, degrades to last-known). Claiming either type crashes
231 cold start on a fresh install (no grant yet) with
232 SecurityException: that was the recurring crash. -->
233 <service
234 android:name=".service.ProjectionService"
235 android:exported="false"
236 android:foregroundServiceType="connectedDevice" />
237 <!-- Holds the media-projection token while music capture runs. Started
238 only after the user grants the consent dialog (see MusicCaptureGrant):
239 on API 34+ an FGS with type mediaProjection cannot start before the
240 projection is registered, so this lives apart from ProjectionService
241 rather than widening its foreground type and crashing bring-up. -->
242 <service
243 android:name=".service.MusicCaptureService"
244 android:exported="false"
245 android:foregroundServiceType="mediaProjection" />
246
247 <!-- Answers the USB permission round-trip and accessory detach while no
248 activity is up; both funnel into UsbConnector. The permission action
249 is app-private (setPackage on request). The force-start chain action
250 (CarStartupService START_USB_PROJECTION) funnels there too. -->
251 <receiver
252 android:name=".platform.UsbReceiver"
253 android:exported="false">
254 <intent-filter>
255 <action android:name="com.vayunmathur.auto.USB_PERMISSION" />
256 <action android:name="android.hardware.usb.action.USB_ACCESSORY_DETACHED" />
257 <action android:name="com.vayunmathur.auto.USB_ACCESSORY_FORCE_START" />
258 </intent-filter>
259 </receiver>
260
261 <!-- TPlus head-unit announce/detach: funnels into the same USB attach
262 path (see UsbTPlusReceiver); the framing difference is HU-side. -->
263 <receiver
264 android:name=".platform.UsbTPlusReceiver"
265 android:exported="false">
266 <intent-filter>
267 <action android:name="com.vayunmathur.auto.USB_TPLUS_ATTACHED" />
268 <action android:name="com.vayunmathur.auto.USB_TPLUS_DETACHED" />
269 </intent-filter>
270 </receiver>
271
272 <!-- USB role/port/gadget/function resets: re-arms the projection
273 listener after the stack re-enumerates (see
274 ConnectionResetReceiver). MA-defined equivalents of gearhead's
275 internal reset chain. -->
276 <receiver
277 android:name=".platform.ConnectionResetReceiver"
278 android:exported="false">
279 <intent-filter>
280 <action android:name="com.vayunmathur.auto.RESET_USB_PORT" />
281 <action android:name="com.vayunmathur.auto.RESET_GADGET" />
282 <action android:name="com.vayunmathur.auto.RESET_ROLES" />
283 <action android:name="com.vayunmathur.auto.RESET_FUNCTION" />
284 </intent-filter>
285 </receiver>
286
287 <!-- Re-starts the projection listener after a reboot or an app
288 update. Runs in :car like gearhead's init receiver; both the boot
289 and the replaced actions restart plus republish the role. -->
290 <receiver
291 android:name=".platform.BootReceiver"
292 android:exported="true"
293 android:process=":car">
294 <intent-filter>
295 <action android:name="android.intent.action.BOOT_COMPLETED" />
296 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
297 </intent-filter>
298 </receiver>
299
300 <!-- Mirrors phone message notifications onto the projection session's
301 ch14 owner via MessageMirrorBus. The system binds this itself once
302 the user enables MA Auto in notification-access settings; posting
303 additionally requires the in-app consent switch (MessagingPrefs),
304 so either gate off means fail-closed silence. Single-user (one
305 listener across profiles would double-mirror), sensitive
306 notifications permitted (templates would otherwise arrive empty),
307 and the mirror filter declares the CATEGORY_MESSAGE gate. -->
308 <service
309 android:name=".notifications.MessageMirrorService"
310 android:exported="true"
311 android:label="@string/messaging_headline"
312 android:singleUser="true"
313 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
314 <intent-filter>
315 <action android:name="android.service.notification.NotificationListenerService" />
316 </intent-filter>
317 <meta-data
318 android:name="com.vayunmathur.auto.MIRROR_FILTER"
319 android:resource="@xml/message_mirror_filter" />
320 </service>
321
322 <!-- Projected calls (car-mode InCall half of the NonCar/CarProjection
323 split). The platform binds this in car mode with the InCall grant;
324 needs CALL_PHONE/READ_PHONE_STATE/CONTROL_INCALL_EXPERIENCE. -->
325 <service
326 android:name=".telephony.CarProjectionInCallService"
327 android:exported="true"
328 android:permission="android.permission.BIND_INCALL_SERVICE">
329 <intent-filter>
330 <action android:name="android.telecom.InCallService" />
331 </intent-filter>
332 <meta-data
333 android:name="android.telecom.IN_CALL_SERVICE_UI"
334 android:value="true" />
335 </service>
336
337 <!-- Non-car InCall half: manifest-disabled, never bound (see
338 NonCarInCallService). Declared so the package surfaces match
339 gearhead's split. -->
340 <service
341 android:name=".telephony.NonCarInCallService"
342 android:exported="false"
343 android:enabled="false"
344 android:permission="android.permission.BIND_INCALL_SERVICE">
345 <intent-filter>
346 <action android:name="android.telecom.InCallService" />
347 </intent-filter>
348 </service>
349
350 <!-- Companion-device trigger for wireless projection (CDM,
351 automotive-projection profile). Fires the BT_START chain on
352 association; runs in :car like gearhead's. The system binds this
353 under the CDM association grant (ASSOCIATE_COMPANION_DEVICES
354 above); no separate bind permission exists for the
355 automotive-projection profile. -->
356 <service
357 android:name=".platform.CarCompanionDeviceService"
358 android:exported="true"
359 android:process=":car"
360 android:permission="android.permission.ASSOCIATE_COMPANION_DEVICES">
361 <intent-filter>
362 <action android:name="android.companion.CompanionDeviceService" />
363 </intent-filter>
364 </service>
365
366 <!-- Head-unit compositor/decor bind targets (exported, like
367 gearhead's): binds are safely rejected: MA renders CarDisplay
368 into ch2 video rather than hosting HU-composited windows. -->
369 <service
370 android:name=".platform.CarSystemUiControllerService"
371 android:exported="true"
372 tools:ignore="ExportedService" />
373 <service
374 android:name=".platform.AppDecorService"
375 android:exported="true"
376 tools:ignore="ExportedService" />
377
378 <!-- Chimera entry point (GMS-compat car.service.START): funnels into
379 the projection service. Same single type as ProjectionService
380 (no mic/location types: nothing here captures device audio or
381 reads device location either). -->
382 <service
383 android:name=".platform.CarChimeraService"
384 android:exported="true"
385 tools:ignore="ExportedService"
386 android:foregroundServiceType="connectedDevice">
387 <intent-filter>
388 <action android:name="car.service.START" />
389 </intent-filter>
390 </service>
391
392 <!-- First-time setup handshake target: binds safely rejected (the
393 pairing screen owns setup). -->
394 <service
395 android:name=".platform.CarSetupService"
396 android:exported="true"
397 tools:ignore="ExportedService">
398 <intent-filter>
399 <action android:name="com.vayunmathur.auto.CAR_SETUP_SERVICE" />
400 </intent-filter>
401 </service>
402
403 <!-- Head-unit startup chain (BT_START + START_USB_PROJECTION +
404 CAR_STARTUP_NOTIFICATION): starts the phone side without the app
405 open. Exported for the system/head-unit flow, but guarded by the
406 signature|privileged START_PROJECTION_CHAIN permission above so
407 an arbitrary app cannot wake ProjectionService/UsbConnector. -->
408 <service
409 android:name=".platform.CarStartupService"
410 android:exported="true"
411 android:permission="com.vayunmathur.auto.permissions.START_PROJECTION_CHAIN">
412 <intent-filter>
413 <action android:name="com.vayunmathur.auto.BT_START" />
414 <action android:name="com.vayunmathur.auto.START_USB_PROJECTION" />
415 <action android:name="com.vayunmathur.auto.CAR_STARTUP_NOTIFICATION" />
416 </intent-filter>
417 </service>
418
419 <!-- Wireless setup pair: the shared service owns the phone half (tap
420 stand-in or CDM MAC), the car service's bind is safely rejected
421 (credentials ride CDM/RFCOMM, not a binder). -->
422 <service
423 android:name=".platform.WirelessSetupSharedService"
424 android:exported="false" />
425 <service
426 android:name=".platform.WirelessSetupCarService"
427 android:exported="true"
428 tools:ignore="ExportedService" />
429
430 <!-- BT/WiFi state during wireless setup (ACL + adapter state). -->
431 <receiver
432 android:name=".platform.WifiBluetoothReceiver"
433 android:exported="false">
434 <intent-filter>
435 <action android:name="android.bluetooth.device.action.ACL_CONNECTED" />
436 <action android:name="android.bluetooth.device.action.ACL_DISCONNECTED" />
437 <action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
438 </intent-filter>
439 </receiver>
440
441 <!-- Wireless head-unit announcement: enters the BT_START chain. -->
442 <receiver
443 android:name=".platform.WirelessStartupReceiver"
444 android:exported="true"
445 tools:ignore="ExportedReceiver">
446 <intent-filter>
447 <action android:name="com.vayunmathur.auto.WIRELESS_STARTUP" />
448 </intent-filter>
449 </receiver>
450
451 <!-- Wireless first-run entry + deep-link router: no UI, they enter
452 the startup chain and finish. -->
453 <activity
454 android:name=".platform.WirelessStartupActivity"
455 android:exported="true"
456 android:theme="@style/Theme.General"
457 android:noHistory="true"
458 android:excludeFromRecents="true" />
459 <activity
460 android:name=".platform.DeepLinkResolverActivity"
461 android:exported="true"
462 android:theme="@style/Theme.General"
463 android:noHistory="true"
464 android:excludeFromRecents="true">
465 <intent-filter>
466 <action android:name="android.intent.action.VIEW" />
467 <category android:name="android.intent.category.DEFAULT" />
468 <category android:name="android.intent.category.BROWSABLE" />
469 <data android:scheme="maauto" />
470 </intent-filter>
471 </activity>
472 </application>
473</manifest>