Commit 79e1e3b0 authored by Alexander Martinz's avatar Alexander Martinz Committed by Michael Bestas

Eleven: remove junit dependency

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: default avatarAlexander Martinz <amartinz@shiftphones.com>
parent 4516bfdb
......@@ -11,8 +11,7 @@ LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, res)
LOCAL_STATIC_JAVA_LIBRARIES := \
android-support-v8-renderscript \
android-common \
guava \
junit
guava
LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \
......
......@@ -30,8 +30,6 @@ import android.graphics.Typeface;
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;
......@@ -278,7 +276,6 @@ public class LetterTileDrawable extends Drawable {
* The default is 0.0f.
*/
public void setOffset(float offset) {
Assert.assertTrue(offset >= -0.5f && offset <= 0.5f);
mOffset = offset;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment