Code cleanup

This commit is contained in:
CappielloAntonio 2021-07-17 12:54:31 +02:00
parent 0b92e85c4e
commit e462d193e0
3 changed files with 4 additions and 13 deletions

View file

@ -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.

View file

@ -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);