mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Added 'Cancel' drop target from all apps and widget picker.
- Reuse DeleteDropTarget since it's the same effect, but with "Cancel" instead of "Remove" if supportsDeleteDropTarget() returns false. - Rename related strings (but not their values) Bug: 24104015 Bug: 24099531 Change-Id: Ia9fbcaa17bb17f7aa31df1f830298da01544c178
This commit is contained in:
@@ -37,7 +37,7 @@ public interface DragSource {
|
||||
|
||||
/**
|
||||
* @return whether items dragged from this source supports 'Delete' drop target (e.g. to remove
|
||||
* a shortcut.
|
||||
* a shortcut.) If this returns false, the drop target will say "Cancel" instead of "Remove."
|
||||
*/
|
||||
boolean supportsDeleteDropTarget();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user