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

Commit f856f352 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes the inability to start quickscrub because hit target is none" into pi-dev

parents a1ff74c6 3b7e3901
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -842,10 +842,17 @@ public class NavigationBarView extends FrameLayout implements PluginListener<Nav
            buttonBounds.setEmpty();
            return;
        }
        // Temporarily reset the translation back to origin to get the position in window
        final float posX = view.getTranslationX();
        final float posY = view.getTranslationY();
        view.setTranslationX(0);
        view.setTranslationY(0);
        view.getLocationInWindow(mTmpPosition);
        buttonBounds.set(mTmpPosition[0], mTmpPosition[1],
                mTmpPosition[0] + view.getMeasuredWidth(),
                mTmpPosition[1] + view.getMeasuredHeight());
        view.setTranslationX(posX);
        view.setTranslationY(posY);
    }

    private void updateRotatedViews() {