Skip to content

Commit 7c0edba

Browse files
Victoria LeaseAndroid (Google) Code Review
authored andcommitted
Merge "Get your own cursor Drawables, WebViewClassic!" into jb-dev
2 parents bbdfada + ae2d732 commit 7c0edba

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)