mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 23:13:36 +00:00
Code cleanup
This commit is contained in:
@@ -30,11 +30,6 @@ android {
|
||||
buildFeatures {
|
||||
viewBinding = true
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
exclude 'META-INF/NOTICE.md'
|
||||
exclude 'META-INF/LICENSE.md'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -43,9 +38,6 @@ dependencies {
|
||||
// Jellyfin
|
||||
implementation 'com.github.jellyfin.jellyfin-apiclient-java:android:0.7.7'
|
||||
|
||||
// Subsonic
|
||||
implementation 'net.beardbot:subsonic-client:0.2.0'
|
||||
|
||||
// Kotlin
|
||||
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.5.10'
|
||||
|
||||
@@ -98,5 +90,5 @@ dependencies {
|
||||
// debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
|
||||
|
||||
// Red screen of death
|
||||
debugImplementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2'
|
||||
// debugImplementation 'com.melegy.redscreenofdeath:red-screen-of-death:0.1.2'
|
||||
}
|
||||
@@ -2,13 +2,13 @@ package com.cappielloantonio.play;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
import androidx.test.ext.junit.runners.AndroidJUnit4;
|
||||
import androidx.test.platform.app.InstrumentationRegistry;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* Instrumented test, which will execute on an Android device.
|
||||
|
||||
@@ -8,7 +8,6 @@ import androidx.preference.PreferenceManager;
|
||||
|
||||
import com.cappielloantonio.play.helper.ThemeHelper;
|
||||
import com.cappielloantonio.play.util.PreferenceUtil;
|
||||
import com.melegy.redscreenofdeath.RedScreenOfDeath;
|
||||
|
||||
import org.jellyfin.apiclient.AppInfo;
|
||||
import org.jellyfin.apiclient.Jellyfin;
|
||||
@@ -27,7 +26,7 @@ public class App extends Application {
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
RedScreenOfDeath.init(this);
|
||||
// RedScreenOfDeath.init(this);
|
||||
|
||||
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
|
||||
String themePref = sharedPreferences.getString("themePref", ThemeHelper.DEFAULT_MODE);
|
||||
|
||||
Reference in New Issue
Block a user