Clean up unused Sliceable.copy()

Sliceable.isCopyableSlice() is not set to true for any controller, so this function is not used.

Usage is removed in Change: I81474aed994678c42d73cc59e169573880de1378

Bug: 227722942
Test: robotest & manual
Change-Id: I86e23aa8ad43f60b5017ff0a278e20e3f727706c
This commit is contained in:
Chaohui Wang
2022-04-01 19:03:49 +08:00
parent cf96e65a6f
commit 6c9da58f4b
21 changed files with 153 additions and 470 deletions

View File

@@ -88,20 +88,6 @@ public interface Sliceable {
return false;
}
/**
* Copy the key slice information to the clipboard.
* It is highly recommended to show the toast to notify users when implemented this function.
*/
default void copy() {
}
/**
* Whether or not it's a copyable slice.
*/
default boolean isCopyableSlice() {
return false;
}
/**
* Whether or not summary comes from something dynamic (ie, not hardcoded in xml)
*/