[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/firefox-android][firefox-android-115.2.1-13.0-1] fixup! Modify UI/UX



Title: GitLab

Dan Ballard pushed to branch firefox-android-115.2.1-13.0-1 at The Tor Project / Applications / firefox-android

Commits:

  • c5b1df66
    by Dan Ballard at 2023-09-27T23:48:46-07:00
    fixup! Modify UI/UX
    
    Bug 42134: Remove Android icon shortcuts for new tab and logins/passwords
    

5 changed files:

Changes:

  • fenix/app/src/beta/res/xml/shortcuts.xml
    ... ... @@ -3,28 +3,28 @@
    3 3
        - License, v. 2.0. If a copy of the MPL was not distributed with this
    
    4 4
        - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    
    5 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_beta"
    
    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.torproject.torbrowser_alpha"
    
    26
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    27
    -    </shortcut>
    
    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=""-->
    
    14
    +<!--            android:targetPackage="org.mozilla.firefox_beta"-->
    
    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=""-->
    
    25
    +<!--            android:targetPackage="org.torproject.torbrowser_alpha"-->
    
    26
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    27
    +<!--    </shortcut>-->
    
    28 28
         <shortcut
    
    29 29
             android:shortcutId="open_new_private_tab"
    
    30 30
             android:enabled="true"
    

  • fenix/app/src/debug/res/xml/shortcuts.xml
    ... ... @@ -4,28 +4,28 @@
    4 4
        - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    
    5 5
     
    
    6 6
     <shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    
    7
    -    <shortcut
    
    8
    -        android:shortcutId="password_manager"
    
    9
    -        android:enabled="true"
    
    10
    -        android:icon="@drawable/ic_static_password_shortcut"
    
    11
    -        android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"
    
    12
    -        android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">
    
    13
    -        <intent
    
    14
    -            android:action="">"org.mozilla.fenix.OPEN_PASSWORD_MANAGER"
    
    15
    -            android:targetPackage="org.mozilla.fenix.debug"
    
    16
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    17
    -    </shortcut>
    
    18
    -    <shortcut
    
    19
    -        android:shortcutId="open_new_tab"
    
    20
    -        android:enabled="true"
    
    21
    -        android:icon="@drawable/ic_static_shortcut_tab"
    
    22
    -        android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"
    
    23
    -        android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">
    
    24
    -        <intent
    
    25
    -            android:action="">"org.mozilla.fenix.OPEN_TAB"
    
    26
    -            android:targetPackage="org.torproject.torbrowser_debug"
    
    27
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    28
    -    </shortcut>
    
    7
    +<!--    <shortcut-->
    
    8
    +<!--        android:shortcutId="password_manager"-->
    
    9
    +<!--        android:enabled="true"-->
    
    10
    +<!--        android:icon="@drawable/ic_static_password_shortcut"-->
    
    11
    +<!--        android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"-->
    
    12
    +<!--        android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">-->
    
    13
    +<!--        <intent-->
    
    14
    +<!--            android:action=""-->
    
    15
    +<!--            android:targetPackage="org.mozilla.fenix.debug"-->
    
    16
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    17
    +<!--    </shortcut>-->
    
    18
    +<!--    <shortcut-->
    
    19
    +<!--        android:shortcutId="open_new_tab"-->
    
    20
    +<!--        android:enabled="true"-->
    
    21
    +<!--        android:icon="@drawable/ic_static_shortcut_tab"-->
    
    22
    +<!--        android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"-->
    
    23
    +<!--        android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">-->
    
    24
    +<!--        <intent-->
    
    25
    +<!--            android:action=""-->
    
    26
    +<!--            android:targetPackage="org.torproject.torbrowser_debug"-->
    
    27
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    28
    +<!--    </shortcut>-->
    
    29 29
         <shortcut
    
    30 30
             android:shortcutId="open_new_private_tab"
    
    31 31
             android:enabled="true"
    

  • fenix/app/src/main/res/xml/shortcuts.xml
    ... ... @@ -4,28 +4,28 @@
    4 4
        - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    
    5 5
     
    
    6 6
     <shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    
    7
    -    <shortcut
    
    8
    -        android:shortcutId="password_manager"
    
    9
    -        android:enabled="true"
    
    10
    -        android:icon="@drawable/ic_static_password_shortcut"
    
    11
    -        android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"
    
    12
    -        android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">
    
    13
    -        <intent
    
    14
    -            android:action="">"org.mozilla.fenix.OPEN_PASSWORD_MANAGER"
    
    15
    -            android:targetPackage="org.mozilla.fenix"
    
    16
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    17
    -    </shortcut>
    
    18
    -    <shortcut
    
    19
    -        android:shortcutId="open_new_tab"
    
    20
    -        android:enabled="true"
    
    21
    -        android:icon="@drawable/ic_static_shortcut_tab"
    
    22
    -        android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"
    
    23
    -        android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">
    
    24
    -        <intent
    
    25
    -            android:action="">"org.mozilla.fenix.OPEN_TAB"
    
    26
    -            android:targetPackage="org.torproject.torbrowser_dev"
    
    27
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    28
    -    </shortcut>
    
    7
    +<!--    <shortcut-->
    
    8
    +<!--        android:shortcutId="password_manager"-->
    
    9
    +<!--        android:enabled="true"-->
    
    10
    +<!--        android:icon="@drawable/ic_static_password_shortcut"-->
    
    11
    +<!--        android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"-->
    
    12
    +<!--        android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">-->
    
    13
    +<!--        <intent-->
    
    14
    +<!--            android:action=""-->
    
    15
    +<!--            android:targetPackage="org.mozilla.fenix"-->
    
    16
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    17
    +<!--    </shortcut>-->
    
    18
    +<!--    <shortcut-->
    
    19
    +<!--        android:shortcutId="open_new_tab"-->
    
    20
    +<!--        android:enabled="true"-->
    
    21
    +<!--        android:icon="@drawable/ic_static_shortcut_tab"-->
    
    22
    +<!--        android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"-->
    
    23
    +<!--        android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">-->
    
    24
    +<!--        <intent-->
    
    25
    +<!--            android:action=""-->
    
    26
    +<!--            android:targetPackage="org.torproject.torbrowser_dev"-->
    
    27
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    28
    +<!--    </shortcut>-->
    
    29 29
         <shortcut
    
    30 30
             android:shortcutId="open_new_private_tab"
    
    31 31
             android:enabled="true"
    

  • fenix/app/src/nightly/res/xml/shortcuts.xml
    ... ... @@ -4,28 +4,28 @@
    4 4
        - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    
    5 5
     
    
    6 6
     <shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
    
    7
    -    <shortcut
    
    8
    -        android:shortcutId="password_manager"
    
    9
    -        android:enabled="true"
    
    10
    -        android:icon="@drawable/ic_static_password_shortcut"
    
    11
    -        android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"
    
    12
    -        android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">
    
    13
    -        <intent
    
    14
    -            android:action="">"org.mozilla.fenix.OPEN_PASSWORD_MANAGER"
    
    15
    -            android:targetPackage="org.mozilla.fenix"
    
    16
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    17
    -    </shortcut>
    
    18
    -    <shortcut
    
    19
    -        android:shortcutId="open_new_tab"
    
    20
    -        android:enabled="true"
    
    21
    -        android:icon="@drawable/ic_static_shortcut_tab"
    
    22
    -        android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"
    
    23
    -        android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">
    
    24
    -        <intent
    
    25
    -            android:action="">"org.mozilla.fenix.OPEN_TAB"
    
    26
    -            android:targetPackage="org.torproject.torbrowser_nightly"
    
    27
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    28
    -    </shortcut>
    
    7
    +<!--    <shortcut-->
    
    8
    +<!--        android:shortcutId="password_manager"-->
    
    9
    +<!--        android:enabled="true"-->
    
    10
    +<!--        android:icon="@drawable/ic_static_password_shortcut"-->
    
    11
    +<!--        android:shortcutShortLabel="@string/home_screen_shortcut_open_password_screen"-->
    
    12
    +<!--        android:shortcutLongLabel="@string/home_screen_shortcut_open_password_screen">-->
    
    13
    +<!--        <intent-->
    
    14
    +<!--            android:action=""-->
    
    15
    +<!--            android:targetPackage="org.mozilla.fenix"-->
    
    16
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    17
    +<!--    </shortcut>-->
    
    18
    +<!--    <shortcut-->
    
    19
    +<!--        android:shortcutId="open_new_tab"-->
    
    20
    +<!--        android:enabled="true"-->
    
    21
    +<!--        android:icon="@drawable/ic_static_shortcut_tab"-->
    
    22
    +<!--        android:shortcutShortLabel="@string/home_screen_shortcut_open_new_tab_2"-->
    
    23
    +<!--        android:shortcutLongLabel="@string/home_screen_shortcut_open_new_tab_2">-->
    
    24
    +<!--        <intent-->
    
    25
    +<!--            android:action=""-->
    
    26
    +<!--            android:targetPackage="org.torproject.torbrowser_nightly"-->
    
    27
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    28
    +<!--    </shortcut>-->
    
    29 29
         <shortcut
    
    30 30
             android:shortcutId="open_new_private_tab"
    
    31 31
             android:enabled="true"
    
    ... ... @@ -37,4 +37,4 @@
    37 37
                 android:targetPackage="org.torproject.torbrowser_nightly"
    
    38 38
                 android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    39 39
         </shortcut>
    
    40
    -</shortcuts>
    \ No newline at end of file
    40
    +</shortcuts>

  • fenix/app/src/release/res/xml/shortcuts.xml
    ... ... @@ -3,28 +3,28 @@
    3 3
        - License, v. 2.0. If a copy of the MPL was not distributed with this
    
    4 4
        - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
    
    5 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.torproject.torbrowser"
    
    26
    -            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />
    
    27
    -    </shortcut>
    
    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=""-->
    
    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=""-->
    
    25
    +<!--            android:targetPackage="org.torproject.torbrowser"-->
    
    26
    +<!--            android:targetClass="org.mozilla.fenix.IntentReceiverActivity" />-->
    
    27
    +<!--    </shortcut>-->
    
    28 28
         <shortcut
    
    29 29
             android:shortcutId="open_new_private_tab"
    
    30 30
             android:enabled="true"
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits