mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 01:16:49 +00:00
Support drag/drop on search results
Bug: 199341710 Test: manual Change-Id: I9879c2a3769d4f930ab0289d2f26e4757971549d
This commit is contained in:
@@ -67,6 +67,11 @@ public class WorkspaceItemInfo extends ItemInfoWithIcon {
|
||||
*/
|
||||
public static final int FLAG_SUPPORTS_WEB_UI = 1 << 3;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public static final int FLAG_START_FOR_RESULT = 1 << 4;
|
||||
|
||||
/**
|
||||
* The intent used to start the application.
|
||||
*/
|
||||
@@ -92,6 +97,8 @@ public class WorkspaceItemInfo extends ItemInfoWithIcon {
|
||||
*/
|
||||
@NonNull private String[] personKeys = Utilities.EMPTY_STRING_ARRAY;
|
||||
|
||||
public int options;
|
||||
|
||||
|
||||
public WorkspaceItemInfo() {
|
||||
itemType = LauncherSettings.Favorites.ITEM_TYPE_SHORTCUT;
|
||||
@@ -127,6 +134,7 @@ public class WorkspaceItemInfo extends ItemInfoWithIcon {
|
||||
super.onAddToDatabase(writer);
|
||||
writer.put(Favorites.TITLE, title)
|
||||
.put(Favorites.INTENT, getIntent())
|
||||
.put(Favorites.OPTIONS, options)
|
||||
.put(Favorites.RESTORED, status);
|
||||
|
||||
if (!usingLowResIcon()) {
|
||||
|
||||
Reference in New Issue
Block a user