summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-08-11 14:23:43 -0700
committerRomain Guy <romainguy@google.com>2010-08-11 14:23:43 -0700
commit3f9b5a253fc8229bd46d53950af9033e0f63c097 (patch)
tree637b723a3c67093c33bd428ffcd9991fc31c97ed /graphics
parent3fa3403e2ee98a66b1b1b83b6f65980163609b6d (diff)
downloadframeworks_base-3f9b5a253fc8229bd46d53950af9033e0f63c097.zip
frameworks_base-3f9b5a253fc8229bd46d53950af9033e0f63c097.tar.gz
frameworks_base-3f9b5a253fc8229bd46d53950af9033e0f63c097.tar.bz2
Fix crash in Market.
Bug #2911272 Change-Id: I065e21b9d005ad693e1af1ad82755b5c2ae7b722
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/ComposeShader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/graphics/ComposeShader.java b/graphics/java/android/graphics/ComposeShader.java
index e88211a..8d5c913 100644
--- a/graphics/java/android/graphics/ComposeShader.java
+++ b/graphics/java/android/graphics/ComposeShader.java
@@ -43,7 +43,7 @@ public class ComposeShader extends Shader {
(mode != null) ? mode.native_instance : 0);
if (mode instanceof PorterDuffXfermode) {
PorterDuff.Mode pdMode = ((PorterDuffXfermode) mode).mode;
- native_shader = nativePostCreate1(native_instance, shaderA.native_shader,
+ native_shader = nativePostCreate2(native_instance, shaderA.native_shader,
shaderB.native_shader, pdMode != null ? pdMode.nativeInt : 0);
} else {
native_shader = nativePostCreate1(native_instance, shaderA.native_shader,