Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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: Alexander Martinz's avatarAlexander Martinz <amartinz@shiftphones.com>
parent 4516bfdb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 \
+0 −3
Original line number Diff line number Diff line
@@ -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;
    }