cinder / app /src /main /AndroidManifest.xml
SmallAICreator's picture
source: sync to v1.15.0
0d7e894 verified
Raw History Blame Contribute Delete
2.43 kB
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Lets the agent install an APK it built: the app hands the file to the system package
installer, which still asks the user to confirm. -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<!-- Lets the agent schedule a notification to ping the user after a delay. -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- Package visibility: without this, resolveActivity() for the speech recognizer returns
null on Android 11+ and the dictate button would silently never appear. -->
<queries>
<intent>
<action android:name="android.speech.action.RECOGNIZE_SPEECH" />
</intent>
</queries>
<application
android:allowBackup="false"
android:label="Cinder"
android:icon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.Cinder">
<activity
android:name=".MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustResize"
android:theme="@style/Theme.Cinder">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Holds the process alive while a turn is in flight: the CLI is a child of this
process, so being backgrounded is what kills a long run. -->
<service
android:name=".EngineService"
android:exported="false"
android:foregroundServiceType="dataSync" />
<!-- Fires the agent's scheduled notification when its alarm goes off. -->
<receiver
android:name=".NotifyReceiver"
android:exported="false" />
</application>
</manifest>