epfl-SDP/android

View on GitHub
mobile/src/main/AndroidManifest.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="ch.epfl.sdp.mobile">

    <!-- Necessary permissions for speech recognition -->
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>

    <queries>
        <!-- Required for interaction with a speech recognition service -->
        <intent>
            <action
                android:name="android.speech.RecognitionService" />
        </intent>
        <!-- Required for interaction with a text to speech service -->
        <intent>
            <action android:name="android.intent.action.TTS_SERVICE" />
        </intent>
    </queries>

    <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.Pawnies">

        <activity
            android:name="ch.epfl.sdp.mobile.state.HomeActivity"
            android:windowSoftInputMode="adjustResize" />

        <activity-alias
            android:name=".Home.Launcher"
            android:exported="true"
            android:targetActivity="ch.epfl.sdp.mobile.state.HomeActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity-alias>

    </application>

</manifest>