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

This commit is contained in:
Victoria Lease
2012-09-21 16:29:43 -07:00
committed by Android (Google) Code Review

View File

@@ -4594,11 +4594,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();
// All handles have the same height, so we can save effort with
// this assumption.
mSelectOffset = new Point(0,