Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / openassistant / src / main / AndroidManifest.xml
AndroidManifest.xml114 lines · 5.2 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | |
| 4 | <uses-permission android:name="android.permission.INTERNET" /> |
| 5 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 6 | |
| 7 | <uses-permission android:name="com.vayunmathur.notes.permissions.ACCESS_NOTES" /> |
| 8 | <uses-permission android:name="com.vayunmathur.contacts.permissions.ACCESS_CONTACTS" /> |
| 9 | <uses-permission android:name="com.vayunmathur.calendar.permissions.ACCESS_CALENDAR" /> |
| 10 | <uses-permission android:name="com.vayunmathur.findfamily.permissions.ACCESS_FAMILY" /> |
| 11 | <uses-permission android:name="com.vayunmathur.music.permissions.ACCESS_MUSIC" /> |
| 12 | <uses-permission android:name="com.vayunmathur.email.permissions.ACCESS_EMAIL" /> |
| 13 | <uses-permission android:name="com.vayunmathur.clock.permissions.ACCESS_CLOCK" /> |
| 14 | <uses-permission android:name="com.vayunmathur.todo.permissions.ACCESS_TODO" /> |
| 15 | |
| 16 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 17 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
| 18 | <uses-permission android:name="android.permission.READ_CALENDAR" /> |
| 19 | <uses-permission android:name="android.permission.WRITE_CALENDAR" /> |
| 20 | |
| 21 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 22 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 23 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
| 24 | |
| 25 | <uses-permission android:name="android.permission.RECORD_AUDIO" /> |
| 26 | |
| 27 | <permission |
| 28 | android:name="com.vayunmathur.openassistant.permission.ACCESS_INFERENCE" |
| 29 | android:label="@string/inference_service_label" |
| 30 | android:description="@string/perm_desc_inference" |
| 31 | android:protectionLevel="signature" /> |
| 32 | |
| 33 | <queries> |
| 34 | <intent> |
| 35 | <action android:name="android.intent.action.MAIN" /> |
| 36 | </intent> |
| 37 | </queries> |
| 38 | |
| 39 | <queries> |
| 40 | <package android:name="com.vayunmathur.notes" /> |
| 41 | <package android:name="com.vayunmathur.contacts" /> |
| 42 | <package android:name="com.vayunmathur.calendar" /> |
| 43 | <package android:name="com.vayunmathur.findfamily" /> |
| 44 | <package android:name="com.vayunmathur.music" /> |
| 45 | <package android:name="com.vayunmathur.email" /> |
| 46 | <package android:name="com.vayunmathur.clock" /> |
| 47 | <package android:name="com.vayunmathur.todo" /> |
| 48 | </queries> |
| 49 | |
| 50 | <application |
| 51 | android:allowBackup="true" |
| 52 | android:backupAgent=".util.AppBackupAgent" |
| 53 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 54 | android:icon="@mipmap/ic_launcher" |
| 55 | android:label="@string/app_name" |
| 56 | android:roundIcon="@mipmap/ic_launcher" |
| 57 | android:supportsRtl="true" |
| 58 | android:theme="@style/Theme.General"> |
| 59 | <activity |
| 60 | android:configChanges="mcc|mnc|colorMode|density|fontScale|fontWeightAdjustment|keyboard|keyboardHidden|layoutDirection|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode" |
| 61 | android:name=".MainActivity" |
| 62 | android:exported="true" |
| 63 | android:theme="@style/Theme.General"> |
| 64 | <intent-filter> |
| 65 | <action android:name="android.intent.action.MAIN" /> |
| 66 | |
| 67 | <category android:name="android.intent.category.LAUNCHER" /> |
| 68 | </intent-filter> |
| 69 | |
| 70 | <intent-filter> |
| 71 | <action android:name="android.intent.action.ASSIST" /> |
| 72 | <category android:name="android.intent.category.DEFAULT" /> |
| 73 | </intent-filter> |
| 74 | </activity> |
| 75 | <service |
| 76 | android:name=".util.InferenceService" |
| 77 | android:exported="true" |
| 78 | android:foregroundServiceType="specialUse" |
| 79 | android:permission="com.vayunmathur.openassistant.permission.ACCESS_INFERENCE"> |
| 80 | <property |
| 81 | android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 82 | android:value="On-device AI inference engine that must stay resident 24/7 to serve inference requests from the other apps on demand; not time-bounded like a data sync." /> |
| 83 | </service> |
| 84 | |
| 85 | <service |
| 86 | android:name=".assist.OpenAssistantVoiceInteractionService" |
| 87 | android:permission="android.permission.BIND_VOICE_INTERACTION" |
| 88 | android:exported="true"> |
| 89 | <intent-filter> |
| 90 | <action android:name="android.service.voice.VoiceInteractionService" /> |
| 91 | </intent-filter> |
| 92 | <meta-data |
| 93 | android:name="android.voice_interaction" |
| 94 | android:resource="@xml/voice_interaction_service" /> |
| 95 | </service> |
| 96 | |
| 97 | <service |
| 98 | android:name=".assist.OpenAssistantSessionService" |
| 99 | android:permission="android.permission.BIND_VOICE_INTERACTION" |
| 100 | android:exported="true" /> |
| 101 | |
| 102 | <service |
| 103 | android:name=".assist.StubRecognitionService" |
| 104 | android:exported="true"> |
| 105 | <intent-filter> |
| 106 | <action android:name="android.speech.RecognitionService" /> |
| 107 | </intent-filter> |
| 108 | <meta-data |
| 109 | android:name="android.speech" |
| 110 | android:resource="@xml/recognition_service" /> |
| 111 | </service> |
| 112 | </application> |
| 113 | |
| 114 | </manifest> |