This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

superconfig / tools / hermes-voice / android / AndroidManifest.xml
3.3 kB 70 lines
1<?xml version="1.0" encoding="utf-8"?> 2<manifest xmlns:android="http://schemas.android.com/apk/res/android" 3 package="us.lassul.assist"> 4 5 <!-- VoiceCall: WebRTC to gpt-live-1 and the hermes-voice API. --> 6 <uses-permission android:name="android.permission.INTERNET" /> 7 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 8 <uses-permission android:name="android.permission.RECORD_AUDIO" /> 9 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" /> 10 <!-- CallService: the call as a self-managed Telecom call, in the foreground. --> 11 <uses-permission android:name="android.permission.MANAGE_OWN_CALLS" /> 12 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 13 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_PHONE_CALL" /> 14 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" /> 15 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> 16 17 <application 18 android:label="Assist" 19 android:icon="@mipmap/ic_launcher" 20 android:allowBackup="false" 21 android:extractNativeLibs="true" 22 android:theme="@android:style/Theme.DeviceDefault.DayNight"> 23 <!-- Launcher: the current conversation and Call / Hang up. --> 24 <activity 25 android:name=".MainActivity" 26 android:exported="true"> 27 <intent-filter> 28 <action android:name="android.intent.action.MAIN" /> 29 <category android:name="android.intent.category.LAUNCHER" /> 30 </intent-filter> 31 </activity> 32 <activity 33 android:name=".SettingsActivity" 34 android:label="Settings" 35 android:exported="false" /> 36 <activity 37 android:name=".SessionsActivity" 38 android:label="Sessions" 39 android:exported="false" /> 40 <activity 41 android:name=".TranscriptActivity" 42 android:exported="false" /> 43 <!-- The headset's voice button (HFP AT+BVRA=1 makes HeadsetService 44 send VOICE_COMMAND) and the assist gesture: start a call and 45 vanish. Over the lock screen and waking the display, so the 46 call starts from the foreground without an unlock. --> 47 <activity 48 android:name=".AssistActivity" 49 android:exported="true" 50 android:excludeFromRecents="true" 51 android:noHistory="true" 52 android:taskAffinity="" 53 android:showWhenLocked="true" 54 android:turnScreenOn="true" 55 android:theme="@android:style/Theme.Translucent.NoTitleBar"> 56 <intent-filter> 57 <action android:name="android.intent.action.ASSIST" /> 58 <category android:name="android.intent.category.DEFAULT" /> 59 </intent-filter> 60 <intent-filter> 61 <action android:name="android.intent.action.VOICE_COMMAND" /> 62 <category android:name="android.intent.category.DEFAULT" /> 63 </intent-filter> 64 </activity> 65 <service 66 android:name=".CallService" 67 android:exported="false" 68 android:foregroundServiceType="phoneCall|microphone" /> 69 </application> 70</manifest>