Skip to content

Commit 37563c5

Browse files
author
Victoria Lease
committed
Get your own cursor Drawables, WebViewClassic!
These are shared resources! You can't just animate *everyone's* cursors! This is a hand-merge of Icdc86af4fba427a352019cd3e2017f97a3b9fdba from jb-dev branch. I'm not sure why it wouldn't automerge, as it seemed pretty straightforward... Bug: 7110290 Change-Id: I131a611b9e16699a51d3769658f079c2ae4cf262
1 parent 537d47f commit 37563c5

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
@@ -4594,11 +4594,11 @@ private void endSelectingText() {
45944594
private void ensureSelectionHandles() {
45954595
if (mSelectHandleCenter == null) {
45964596
mSelectHandleCenter = mContext.getResources().getDrawable(
4597-
com.android.internal.R.drawable.text_select_handle_middle);
4597+
com.android.internal.R.drawable.text_select_handle_middle).mutate();
45984598
mSelectHandleLeft = mContext.getResources().getDrawable(
4599-
com.android.internal.R.drawable.text_select_handle_left);
4599+
com.android.internal.R.drawable.text_select_handle_left).mutate();
46004600
mSelectHandleRight = mContext.getResources().getDrawable(
4601-
com.android.internal.R.drawable.text_select_handle_right);
4601+
com.android.internal.R.drawable.text_select_handle_right).mutate();
46024602
// All handles have the same height, so we can save effort with
46034603
// this assumption.
46044604
mSelectOffset = new Point(0,

0 commit comments

Comments
 (0)