Cleanup unnecessary override dump method
Change-Id: Ic2909a4d382362ddec9bcc2c738d13120e792fd8
This commit is contained in:
1 parent
a310a80c7b
commit
9e7d2acc22
6 files changed
+1
-25
No files matched your search
@@ -41,7 +41,6 @@ import com.android.launcher3.util.TouchController;
|
||||
import com.android.launcher3.views.ActivityContext;
|
||||
import com.android.launcher3.views.BaseDragLayer;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
@@ -252,7 +251,4 @@ public abstract class AbstractFloatingView extends LinearLayout implements Touch
|
||||
@FloatingViewType int type) {
|
||||
return getOpenView(activity, type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dump(String prefix, PrintWriter writer) { }
|
||||
}
|
||||
@@ -46,7 +46,6 @@ import com.android.launcher3.util.Thunk;
|
||||
import com.android.launcher3.util.TouchController;
|
||||
import com.android.launcher3.util.UiThreadHelper;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
@@ -697,8 +696,4 @@ public class DragController implements DragDriver.EventListener, TouchController
|
||||
public void removeDropTarget(DropTarget target) {
|
||||
mDropTargets.remove(target);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dump(String prefix, PrintWriter writer) { }
|
||||
|
||||
}
|
||||
@@ -50,8 +50,6 @@ import com.android.launcher3.util.FlingBlockCheck;
|
||||
import com.android.launcher3.util.PendingAnimation;
|
||||
import com.android.launcher3.util.TouchController;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
|
||||
/**
|
||||
* TouchController for handling state changes
|
||||
*/
|
||||
@@ -583,7 +581,4 @@ public abstract class AbstractStateChangeTouchController
|
||||
this.endTime = duration + SystemClock.elapsedRealtime();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dump(String prefix, PrintWriter writer) { }
|
||||
}
|
||||
@@ -32,5 +32,5 @@ public interface TouchController {
|
||||
*/
|
||||
boolean onControllerInterceptTouchEvent(MotionEvent ev);
|
||||
|
||||
void dump(String prefix, PrintWriter writer);
|
||||
default void dump(String prefix, PrintWriter writer) { }
|
||||
}
|
||||
Reference in new issue
Block a user