summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorVictoria Lease <violets@google.com>2012-09-21 09:31:11 -0700
committerVictoria Lease <violets@google.com>2012-09-21 09:31:11 -0700
commit37563c5249c21b899f254521bc4c06b4f27b13a3 (patch)
tree5c0ebda0bdc8cc749f59685635a6a6d79a302e64 /core
parent537d47f510ce49acee09516ed5dde680d910ff94 (diff)
downloadframeworks_base-37563c5249c21b899f254521bc4c06b4f27b13a3.zip
frameworks_base-37563c5249c21b899f254521bc4c06b4f27b13a3.tar.gz
frameworks_base-37563c5249c21b899f254521bc4c06b4f27b13a3.tar.bz2
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
Diffstat (limited to 'core')
-rw-r--r--core/java/android/webkit/WebViewClassic.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/webkit/WebViewClassic.java b/core/java/android/webkit/WebViewClassic.java
index d23f52c..1c47615 100644
--- a/core/java/android/webkit/WebViewClassic.java
+++ b/core/java/android/webkit/WebViewClassic.java
@@ -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,