Skip to content

Commit ae2d732

Browse files
author
Victoria Lease
committed
Get your own cursor Drawables, WebViewClassic!
These are shared resources! You can't just animate *everyone's* cursors! Bug: 7110290 Change-Id: Icdc86af4fba427a352019cd3e2017f97a3b9fdba
1 parent 19a3968 commit ae2d732

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4528,11 +4528,11 @@ private void endSelectingText() {
45284528
private void ensureSelectionHandles() {
45294529
if (mSelectHandleCenter == null) {
45304530
mSelectHandleCenter = mContext.getResources().getDrawable(
4531-
com.android.internal.R.drawable.text_select_handle_middle);
4531+
com.android.internal.R.drawable.text_select_handle_middle).mutate();
45324532
mSelectHandleLeft = mContext.getResources().getDrawable(
4533-
com.android.internal.R.drawable.text_select_handle_left);
4533+
com.android.internal.R.drawable.text_select_handle_left).mutate();
45344534
mSelectHandleRight = mContext.getResources().getDrawable(
4535-
com.android.internal.R.drawable.text_select_handle_right);
4535+
com.android.internal.R.drawable.text_select_handle_right).mutate();
45364536
mHandleAlpha.setAlpha(mHandleAlpha.getAlpha());
45374537
mSelectHandleCenterOffset = new Point(0,
45384538
-mSelectHandleCenter.getIntrinsicHeight());

0 commit comments

Comments
 (0)