diff options
author | Paul Duffin <paulduffin@google.com> | 2017-02-21 11:19:20 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-02-21 11:19:21 +0000 |
commit | f1ec8df54782ff3336a62b2c03e48400fb2762bb (patch) | |
tree | 1156af0343a7e8137e5a8bf655a7fd6f3067bd18 /src/com/android/gallery3d/glrenderer/BitmapTexture.java | |
parent | 538f6fe844a7c90e211cedbd78f8e8d8835b2b42 (diff) | |
parent | 558f4628e9df1a2c9f9073b6a248ef1cf5feb47a (diff) | |
download | android_packages_apps_Gallery2-f1ec8df54782ff3336a62b2c03e48400fb2762bb.tar.gz android_packages_apps_Gallery2-f1ec8df54782ff3336a62b2c03e48400fb2762bb.tar.bz2 android_packages_apps_Gallery2-f1ec8df54782ff3336a62b2c03e48400fb2762bb.zip |
Merge "Stop using junit classes in production"
Diffstat (limited to 'src/com/android/gallery3d/glrenderer/BitmapTexture.java')
-rw-r--r-- | src/com/android/gallery3d/glrenderer/BitmapTexture.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/gallery3d/glrenderer/BitmapTexture.java b/src/com/android/gallery3d/glrenderer/BitmapTexture.java index 100b0b3b9..f8b01cb42 100644 --- a/src/com/android/gallery3d/glrenderer/BitmapTexture.java +++ b/src/com/android/gallery3d/glrenderer/BitmapTexture.java @@ -18,7 +18,7 @@ package com.android.gallery3d.glrenderer; import android.graphics.Bitmap; -import junit.framework.Assert; +import com.android.gallery3d.common.Utils; // BitmapTexture is a texture whose content is specified by a fixed Bitmap. // @@ -34,7 +34,7 @@ public class BitmapTexture extends UploadedTexture { public BitmapTexture(Bitmap bitmap, boolean hasBorder) { super(hasBorder); - Assert.assertTrue(bitmap != null && !bitmap.isRecycled()); + Utils.assertTrue(bitmap != null && !bitmap.isRecycled()); mContentBitmap = bitmap; } |