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

Commit ae2d7324 authored by Victoria Lease's avatar Victoria Lease
Browse files

Get your own cursor Drawables, WebViewClassic!

These are shared resources! You can't just animate *everyone's*
cursors!

Bug: 7110290
Change-Id: Icdc86af4fba427a352019cd3e2017f97a3b9fdba
parent 19a39686
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -4528,11 +4528,11 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
    private void ensureSelectionHandles() {
        if (mSelectHandleCenter == null) {
            mSelectHandleCenter = mContext.getResources().getDrawable(
                    com.android.internal.R.drawable.text_select_handle_middle);
                    com.android.internal.R.drawable.text_select_handle_middle).mutate();
            mSelectHandleLeft = mContext.getResources().getDrawable(
                    com.android.internal.R.drawable.text_select_handle_left);
                    com.android.internal.R.drawable.text_select_handle_left).mutate();
            mSelectHandleRight = mContext.getResources().getDrawable(
                    com.android.internal.R.drawable.text_select_handle_right);
                    com.android.internal.R.drawable.text_select_handle_right).mutate();
            mHandleAlpha.setAlpha(mHandleAlpha.getAlpha());
            mSelectHandleCenterOffset = new Point(0,
                    -mSelectHandleCenter.getIntrinsicHeight());