Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43ea92b8 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Remove dead code from EpicenterTranslateClipReveal" into mnc-dev

parents 14bc1c58 6689a013
Loading
Loading
Loading
Loading
+0 −6
Original line number Original line Diff line number Diff line
@@ -191,12 +191,6 @@ public class EpicenterTranslateClipReveal extends Visibility {
    private Rect getEpicenterOrCenter(Rect bestRect) {
    private Rect getEpicenterOrCenter(Rect bestRect) {
        final Rect epicenter = getEpicenter();
        final Rect epicenter = getEpicenter();
        if (epicenter != null) {
        if (epicenter != null) {
            /*
            // Translate the clip bounds to be centered within the target bounds.
            final int offsetX = bestRect.centerX() - epicenter.centerX();
            final int offsetY = bestRect.centerY() - epicenter.centerY();
            epicenter.offset(offsetX, offsetY);
            */
            return epicenter;
            return epicenter;
        }
        }