We are just pulling in junit for an runtime assertion call
within a method, which is even unused.
Remove junit call and dependency but leave the unused method there
which will be rm -rf'ed in followup changes.
Change-Id: Ib71ac78f3e0bbabcb5b4acdaa34e853e39b616aa
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v8-renderscript \
android-common \
- guava \
- junit
+ guava
LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \
import android.graphics.drawable.Drawable;
import android.text.TextUtils;
-import junit.framework.Assert;
-
import org.lineageos.eleven.R;
import org.lineageos.eleven.cache.ImageWorker.ImageType;
import org.lineageos.eleven.utils.BitmapWithColors;
* The default is 0.0f.
*/
public void setOffset(float offset) {
- Assert.assertTrue(offset >= -0.5f && offset <= 0.5f);
mOffset = offset;
}