Merge "Get your own cursor Drawables, WebViewClassic!" into jb-dev

This commit is contained in:
Victoria Lease
2012-09-20 15:19:05 -07:00
committed by Android (Google) Code Review

View File

@@ -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());