all: minor improvements

Add some minor UI tweaks that accumulated over this week.
This commit is contained in:
OxygenCobalt
2021-08-14 16:31:18 -06:00
parent a5f65d39a5
commit fed6902c21
31 changed files with 23 additions and 89 deletions
@@ -37,6 +37,9 @@ import org.oxycblt.auxio.ui.isLandscape
/**
* Fragment that handles what to display during the loading process.
* TODO: Figure out how to phase out the loading screen since
* Android 12 is annoyingly stubborn about having one splash
* screen and one splash screen only.
* @author OxygenCobalt
*/
class LoadingFragment : Fragment() {
@@ -32,8 +32,8 @@ import android.os.IBinder
import android.os.PowerManager
import android.support.v4.media.session.MediaSessionCompat
import com.google.android.exoplayer2.C
import com.google.android.exoplayer2.ExoPlaybackException
import com.google.android.exoplayer2.MediaItem
import com.google.android.exoplayer2.PlaybackException
import com.google.android.exoplayer2.Player
import com.google.android.exoplayer2.RenderersFactory
import com.google.android.exoplayer2.SimpleExoPlayer
@@ -242,7 +242,7 @@ class PlaybackService : Service(), Player.Listener, PlaybackStateManager.Callbac
acquireWakeLock()
}
override fun onPlayerError(error: ExoPlaybackException) {
override fun onPlayerError(error: PlaybackException) {
// If there's any issue, just go to the next song.
playbackManager.next()
}