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

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

AndroidManifest.xml73 lines · 3.2 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 <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). -->
6 <!-- This app uses no motion/environment sensors; MAOS withholds the -->
7 <!-- Sensors permission at install instead of auto-granting it. -->
8 <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" />
9
10 <uses-permission android:name="android.permission.RECORD_AUDIO" />
11 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
12
13 <application
14 android:allowBackup="true"
15 android:dataExtractionRules="@xml/data_extraction_rules"
16 android:icon="@mipmap/ic_launcher"
17 android:label="@string/app_name"
18 android:roundIcon="@mipmap/ic_launcher"
19 android:supportsRtl="true"
20 android:theme="@style/Theme.General">
21 <activity
22 android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
23 android:name=".MainActivity"
24 android:exported="true"
25 android:theme="@style/Theme.General">
26 <intent-filter>
27 <action android:name="android.intent.action.MAIN" />
28 <category android:name="android.intent.category.LAUNCHER" />
29 </intent-filter>
30 </activity>
31
32 <service
33 android:name=".service.WhisperRecognitionService"
34 android:label="@string/recognition_service_label"
35 android:permission="android.permission.BIND_RECOGNITION_SERVICE"
36 android:exported="true">
37 <intent-filter>
38 <action android:name="android.speech.RecognitionService" />
39 </intent-filter>
40 <meta-data
41 android:name="android.speech"
42 android:resource="@xml/recognition_service" />
43 </service>
44
45 <!-- The system TTS framework binds this service directly; Android defines
46 no BIND_* permission for TextToSpeechService, so no manifest permission
47 can be required without breaking system binding. -->
48 <service
49 android:name=".service.SupertonicTtsService"
50 android:label="@string/tts_engine_label"
51 android:exported="true"
52 tools:ignore="ExportedService">
53 <intent-filter>
54 <action android:name="android.intent.action.TTS_SERVICE" />
55 <category android:name="android.intent.category.DEFAULT" />
56 </intent-filter>
57 <meta-data
58 android:name="android.speech.tts"
59 android:resource="@xml/tts_engine" />
60 </service>
61
62 <activity
63 android:name=".service.CheckVoiceDataActivity"
64 android:exported="true"
65 android:theme="@android:style/Theme.NoDisplay">
66 <intent-filter>
67 <action android:name="android.speech.tts.engine.CHECK_TTS_DATA" />
68 <category android:name="android.intent.category.DEFAULT" />
69 </intent-filter>
70 </activity>
71 </application>
72
73</manifest>