summaryrefslogtreecommitdiff
path: root/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java')
-rw-r--r--src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java b/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
index 6fd4e27..b8b28da 100644
--- a/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
+++ b/src/com/android/bitmap/drawable/ExtendedBitmapDrawable.java
@@ -681,7 +681,7 @@ public class ExtendedBitmapDrawable extends BasicBitmapDrawable implements
"ExtendedOptions: To support FEATURE_ORDERED_DISPLAY, "
+ "decodeAggregator must be set.");
}
- if ((features & FEATURE_PARALLAX) != 0 && parallaxSpeedMultiplier == 0) {
+ if ((features & FEATURE_PARALLAX) != 0 && parallaxSpeedMultiplier == 1) {
throw new IllegalStateException(
"ExtendedOptions: To support FEATURE_PARALLAX, "
+ "parallaxSpeedMultiplier must be set.");