mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Generalize support for 'App Info', 'Uninstall' and 'Delete'
This allows other DragSource's to allow this behaviour, instead of it being tied to specific source types. Change-Id: I06b7c39b1b34a0ae141245bcc13b6a0873a4c0fd
This commit is contained in:
@@ -30,6 +30,17 @@ public interface DragSource {
|
||||
*/
|
||||
boolean supportsFlingToDelete();
|
||||
|
||||
/**
|
||||
* @return whether items dragged from this source supports 'App Info'
|
||||
*/
|
||||
boolean supportsAppInfoDropTarget();
|
||||
|
||||
/**
|
||||
* @return whether items dragged from this source supports 'Delete' drop target (e.g. to remove
|
||||
* a shortcut.
|
||||
*/
|
||||
boolean supportsDeleteDropTarget();
|
||||
|
||||
/*
|
||||
* @return the scale of the icons over the workspace icon size
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user