Skip to content

Commit

Permalink
chore: Remove old external player code and clean up unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
kingargyle committed Dec 15, 2024
1 parent 2037b0d commit 231c8bb
Show file tree
Hide file tree
Showing 177 changed files with 460 additions and 1,917 deletions.
2 changes: 0 additions & 2 deletions serenity-app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("com.android.application")
id("project-report")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import android.text.Html;
import android.text.method.ScrollingMovementMethod;
import android.widget.TextView;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
package us.nineworlds.serenity;

import android.content.Intent;

import us.nineworlds.serenity.ui.leanback.search.SearchActivity;

public class AndroidTV extends MainActivity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import android.content.Intent;
import android.view.View;
import android.widget.Toast;

import us.nineworlds.serenity.core.menus.MenuItem;
import us.nineworlds.serenity.ui.preferences.LeanbackSettingsActivity;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@
*/
package us.nineworlds.serenity

import us.nineworlds.serenity.injection.BaseInjector
import javax.inject.Inject
import android.content.SharedPreferences
import android.app.Activity
import android.content.SharedPreferences
import android.view.View
import android.view.animation.AnimationUtils
import android.widget.ImageView
import androidx.core.content.ContextCompat
import com.bumptech.glide.Glide
import us.nineworlds.serenity.core.menus.MenuItem
import us.nineworlds.serenity.fragments.mainmenu.MainMenuPresenter
import javax.inject.Provider
import us.nineworlds.serenity.injection.BaseInjector
import javax.inject.Inject

class GalleryOnItemSelectedListener(private val adapter: MainMenuTextViewAdapter, private val presenter: MainMenuPresenter) : BaseInjector(), IGalleryOnItemSelectedListener {
@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@
*/
package us.nineworlds.serenity;

import androidx.recyclerview.widget.RecyclerView;
import android.text.TextUtils.TruncateAt;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import android.widget.TextView;

import androidx.recyclerview.widget.RecyclerView;

import java.util.ArrayList;
import java.util.List;

import us.nineworlds.serenity.core.menus.MenuItem;
import us.nineworlds.serenity.fragments.mainmenu.MainMenuPresenter;
import us.nineworlds.serenity.injection.InjectingRecyclerViewAdapter;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package us.nineworlds.serenity;

import android.content.Context;

import javax.inject.Inject;

import moxy.InjectViewState;
import moxy.MvpPresenter;
import com.birbit.android.jobqueue.JobManager;
import javax.inject.Inject;
import toothpick.Toothpick;
import us.nineworlds.serenity.common.annotations.InjectionConstants;
import us.nineworlds.serenity.common.rest.SerenityClient;
import us.nineworlds.serenity.jobs.GlideClearCacheJob;

@InjectViewState
public class MainPresenter extends MvpPresenter<MainView> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Bundle;
import androidx.core.app.NotificationCompat;
import android.util.Log;

import androidx.core.app.NotificationCompat;

import com.bumptech.glide.Glide;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import android.net.Uri;
import android.os.ParcelFileDescriptor;
import android.util.Log;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.content.SharedPreferences.OnSharedPreferenceChangeListener;

import javax.inject.Inject;

import us.nineworlds.serenity.injection.BaseInjector;

/**
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 231c8bb

Please sign in to comment.