Нажатие на ярлык не открывает активность
Я создал ярлык в своем приложении, он отображает ярлык, но при нажатии на ярлык ничего не происходит. ниже мой код в манифесте:
<activity
android:name=".authentication.SplashActivity"
android:launchMode="singleTop"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<meta-data android:name="android.app.shortcuts"
android:resource="@xml/shortcuts" />
А вот это shortcut.xml
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="exampleshortcut"
android:enabled="true"
android:icon="@drawable/random_constellation"
android:shortcutShortLabel="@string/shortcut_label"
android:shortcutLongLabel="@string/shortcut_label"
android:shortcutDisabledMessage="@string/shortcut_disabled_message">
<intent
android:action="android.intent.action.VIEW"
android:targetPackage="com.android.home"
android:targetClass="com.android.home.MyActivity" />
<!-- If your shortcut is associated with multiple intents, include them
here. The last intent in the list determines what the user sees when
they launch this shortcut. -->
<categories android:name="android.shortcut.conversation" />
</shortcut>
<!-- Specify more shortcuts here. -->
Где я ошибаюсь? Заранее спасибо