Add Android 7.1 launcher shortcut for new session

This commit is contained in:
Fredrik Fornwall
2016-12-26 04:07:03 +01:00
parent 4c93cb42f1
commit df92896eef
4 changed files with 37 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
<shortcut
android:shortcutId="new_session"
android:enabled="true"
android:icon="@drawable/ic_new_session"
android:shortcutShortLabel="@string/new_session">
<intent
android:action="android.intent.action.RUN"
android:targetPackage="com.termux"
android:targetClass="com.termux.app.TermuxActivity"/>
</shortcut>
</shortcuts>