summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/BitmapScreenNail.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/ui/BitmapScreenNail.java')
-rw-r--r--src/com/android/gallery3d/ui/BitmapScreenNail.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/com/android/gallery3d/ui/BitmapScreenNail.java b/src/com/android/gallery3d/ui/BitmapScreenNail.java
index 064e1af0e..7f654058e 100644
--- a/src/com/android/gallery3d/ui/BitmapScreenNail.java
+++ b/src/com/android/gallery3d/ui/BitmapScreenNail.java
@@ -29,14 +29,12 @@ public class BitmapScreenNail implements ScreenNail {
private static final String TAG = "BitmapScreenNail";
private final int mWidth;
private final int mHeight;
- private final int mRotation;
private Bitmap mBitmap;
private BitmapTexture mTexture;
- public BitmapScreenNail(Bitmap bitmap, int rotation) {
+ public BitmapScreenNail(Bitmap bitmap) {
mWidth = bitmap.getWidth();
mHeight = bitmap.getHeight();
- mRotation = rotation;
mBitmap = bitmap;
// We create mTexture lazily, so we don't incur the cost if we don't
// actually need it.
@@ -53,11 +51,6 @@ public class BitmapScreenNail implements ScreenNail {
}
@Override
- public int getRotation() {
- return mRotation;
- }
-
- @Override
public void noDraw() {
}