diff options
Diffstat (limited to 'src/com/android/wallpaper/asset/ContentUriAsset.java')
-rwxr-xr-x | src/com/android/wallpaper/asset/ContentUriAsset.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/wallpaper/asset/ContentUriAsset.java b/src/com/android/wallpaper/asset/ContentUriAsset.java index a240420..e5f446b 100755 --- a/src/com/android/wallpaper/asset/ContentUriAsset.java +++ b/src/com/android/wallpaper/asset/ContentUriAsset.java @@ -111,12 +111,12 @@ public final class ContentUriAsset extends StreamableAsset { @Override public void decodeBitmapRegion(final Rect rect, int targetWidth, int targetHeight, - final BitmapReceiver receiver) { + boolean shouldAdjustForRtl, final BitmapReceiver receiver) { // BitmapRegionDecoder only supports images encoded in either JPEG or PNG, so if the content // URI asset is encoded with another format (for example, GIF), then fall back to cropping a // bitmap region from the full-sized bitmap. if (isJpeg() || isPng()) { - super.decodeBitmapRegion(rect, targetWidth, targetHeight, receiver); + super.decodeBitmapRegion(rect, targetWidth, targetHeight, shouldAdjustForRtl, receiver); return; } |