Bug 1810629 - Add an Android shortcut to go straight to the login and passwords
[gecko.git] / mobile / android / fenix / app / src / release / res / xml / shortcuts.xml
blobedc34d00f5d5d33ed6389008ff1d4ca67a7734cd
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3    - License, v. 2.0. If a copy of the MPL was not distributed with this
4    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5 <shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
6     <shortcut
7         android:shortcutId="password_manager"
8         android:enabled="true"
9         android:icon="@drawable/ic_static_password_shortcut"
10         android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"
11         android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">
12         <intent
13             android:action="org.mozilla.fenix.OPEN_PASSWORD_MANAGER"
14             android:targetPackage="org.mozilla.firefox"
15             android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
16     </shortcut>
17     <shortcut
18         android:shortcutId="open_new_tab"
19         android:enabled="true"
20         android:icon="@drawable/ic_static_shortcut_tab"
21         android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"
22         android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">
23         <intent
24             android:action="org.mozilla.fenix.OPEN_TAB"
25             android:targetPackage="org.mozilla.firefox"
26             android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
27     </shortcut>
28     <shortcut
29         android:shortcutId="open_new_private_tab"
30         android:enabled="true"
31         android:icon="@drawable/ic_static_shortcut_private_tab"
32         android:shortcutShortLabel="@string/home_screen_shortcut_open_new_private_tab_2"
33         android:shortcutLongLabel="@string/home_screen_shortcut_open_new_private_tab_2">
34         <intent
35             android:action="org.mozilla.fenix.OPEN_PRIVATE_TAB"
36             android:targetPackage="org.mozilla.firefox"
37             android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
38     </shortcut>
39 </shortcuts>