Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93456817 authored by Andy Wickham's avatar Andy Wickham
Browse files

Fixes ITEM_TYPE_SEARCH_ACTION to have a unique value.

It previously was the same as ITEM_TYPE_TASK.

Test: N/A
Bug: 254138853
Bug: 254140269
Change-Id: I6f09818e3c5c05cbcbb451147cf310d59c7064e0
parent 126d1783
Loading
Loading
Loading
Loading
+6 −5
Original line number Original line Diff line number Diff line
@@ -94,15 +94,11 @@ public class LauncherSettings {
         */
         */
        public static final int ITEM_TYPE_DEEP_SHORTCUT = 6;
        public static final int ITEM_TYPE_DEEP_SHORTCUT = 6;


        /**
         * The favroite is a search action
         */
        public static final int ITEM_TYPE_SEARCH_ACTION = 7;


        // *** Below enum values are used for metrics purpose but not used in Favorites DB ***


        /**
        /**
         * Type of the item is recents task.
         * Type of the item is recents task.
         * TODO(hyunyoungs): move constants not related to Favorites DB to a better location.
         */
         */
        public static final int ITEM_TYPE_TASK = 7;
        public static final int ITEM_TYPE_TASK = 7;


@@ -111,6 +107,11 @@ public class LauncherSettings {
         */
         */
        public static final int ITEM_TYPE_QSB = 8;
        public static final int ITEM_TYPE_QSB = 8;


        /**
         * The favorite is a search action
         */
        public static final int ITEM_TYPE_SEARCH_ACTION = 9;

        /**
        /**
         * The icon package name in Intent.ShortcutIconResource
         * The icon package name in Intent.ShortcutIconResource
         * <P>Type: TEXT</P>
         * <P>Type: TEXT</P>