Added ASSIST to the manifest to use the app like google assistant (from bottom corners)

This commit is contained in:
Mathieu 2022-01-03 17:28:41 +01:00
parent 20188c0b66
commit 4de9e66d0e

View File

@ -8,17 +8,26 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.JarvisCompose">
<activity
android:theme="@style/Theme.JarvisCompose"
android:fullBackupContent="true">
<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.JarvisCompose.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.ASSIST" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="com.android.systemui.action_assist_icon"
android:resource="@mipmap/ic_launcher" />
</activity>
</application>