-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroidManifest.xml
More file actions
101 lines (91 loc) · 4.52 KB
/
Copy pathAndroidManifest.xml
File metadata and controls
101 lines (91 loc) · 4.52 KB
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
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-License-Identifier: MPL-2.0
SPDX-FileCopyrightText: 2025 Jonathan D.A. Jewell
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ai.neurophone">
<!-- Permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.BODY_SENSORS" />
<uses-permission android:name="android.permission.HIGH_SAMPLING_RATE_SENSORS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Features (optional, for sensor availability checks) -->
<uses-feature android:name="android.hardware.sensor.accelerometer" android:required="false" />
<uses-feature android:name="android.hardware.sensor.gyroscope" android:required="false" />
<uses-feature android:name="android.hardware.sensor.compass" android:required="false" />
<uses-feature android:name="android.hardware.sensor.light" android:required="false" />
<uses-feature android:name="android.hardware.sensor.proximity" android:required="false" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.Light.DarkActionBar"
android:extractNativeLibs="true">
<activity
android:name=".MainActivity"
android:exported="true"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<!-- Voice / share entry point -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<action android:name="android.intent.action.SEND" />
<action android:name="android.intent.action.ASSIST" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:mimeType="text/plain" />
<data android:scheme="neurophone" />
</intent-filter>
</activity>
<!-- Long-running foreground service that owns the sensor → LSM → ESN loop -->
<service
android:name=".NeurophoneService"
android:exported="false"
android:foregroundServiceType="dataSync" />
<!-- Boot receiver: optionally restart service on phone reboot -->
<receiver
android:name=".BootReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!--
Quick-query receiver used by the home-screen widget tap.
NeurophoneWidgetConfigureActivity was dropped (owner decision,
epic #83); it had no manifest <activity> entry, so nothing is
removed here. The android:configure hook was removed from
res/xml/neurophone_widget_info.xml instead.
-->
<receiver
android:name=".widget.NeurophoneWidgetActions"
android:exported="false" />
<!-- Home-screen App Widget -->
<receiver
android:name=".widget.NeurophoneAppWidget"
android:exported="true"
android:label="@string/widget_label">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="ai.neurophone.widget.ACTION_REFRESH" />
<action android:name="ai.neurophone.widget.ACTION_QUERY" />
<action android:name="ai.neurophone.widget.ACTION_TOGGLE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/neurophone_widget_info" />
</receiver>
</application>
</manifest>