Playhi/FreezeYou

View on GitHub
app/src/main/res/xml/shortcuts.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0" encoding="utf-8"?>
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_logo"
        android:shortcutDisabledMessage="@string/app_name"
        android:shortcutId="main"
        android:shortcutLongLabel="@string/app_name"
        android:shortcutShortLabel="@string/app_name">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="cf.playhi.freezeyou.Main"
            android:targetPackage="cf.playhi.freezeyou" />
        <!-- 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. -->
    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_logo"
        android:shortcutDisabledMessage="@string/oneKeyFreeze"
        android:shortcutId="onekeyFreeze"
        android:shortcutLongLabel="@string/oneKeyFreeze"
        android:shortcutShortLabel="@string/oneKeyFreeze">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="cf.playhi.freezeyou.OneKeyFreeze"
            android:targetPackage="cf.playhi.freezeyou" />
        <!-- 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>
    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_logo"
        android:shortcutDisabledMessage="@string/oneKeyUF"
        android:shortcutId="onekeyUF"
        android:shortcutLongLabel="@string/oneKeyUF"
        android:shortcutShortLabel="@string/oneKeyUF">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="cf.playhi.freezeyou.OneKeyUF"
            android:targetPackage="cf.playhi.freezeyou" />
        <!-- 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>
    <shortcut
        android:enabled="true"
        android:icon="@drawable/ic_shortcut_access_alarm"
        android:shortcutDisabledMessage="@string/scheduledTasks"
        android:shortcutId="scheduledTasks"
        android:shortcutLongLabel="@string/scheduledTasks"
        android:shortcutShortLabel="@string/scheduledTasks">
        <intent
            android:action="android.intent.action.VIEW"
            android:targetClass="cf.playhi.freezeyou.ui.ScheduledTasksManageActivity"
            android:targetPackage="cf.playhi.freezeyou" />
        <!-- 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>
</shortcuts>