Moving some abstract classes to interfaces, to better use java-8 features
Change-Id: I862af4931c95cbde052130d8b7d4ac3375db782f
This commit is contained in:
1 parent
ce368154ce
commit
83fd25e3af
11 files changed
+62
-247
No files matched your search
@@ -3034,16 +3034,6 @@ public class Workspace extends PagedView<WorkspacePageIndicator>
|
||||
});
|
||||
}
|
||||
|
||||
public View getViewForTag(final Object tag) {
|
||||
return getFirstMatch(new ItemOperator() {
|
||||
|
||||
@Override
|
||||
public boolean evaluate(ItemInfo info, View v) {
|
||||
return info == tag;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public LauncherAppWidgetHostView getWidgetForAppWidgetId(final int appWidgetId) {
|
||||
return (LauncherAppWidgetHostView) getFirstMatch(new ItemOperator() {
|
||||
|
||||
|
||||
Reference in new issue
Block a user