Commit Graph

109 Commits

Author SHA1 Message Date
Renovate Bot 922aa16b8c Update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.7.22 2022-12-07 13:00:27 +00:00
Ryan Harg bbc82d8be5 Upgrade mockk android dependency versionto general mockk version 2022-12-07 12:51:24 +00:00
RenovateBot 159c7d8d47 Update dependency io.insert-koin:koin-core to v3.2.2 2022-12-07 11:00:49 +00:00
Ryan Harg 2de6ca303e
Necessary upgrades to compileSdk and targetSdk and adjusting code 2022-12-06 09:35:33 +01:00
Hugh Daschbach d734953b54
Replace deprecated SimpleExoPlayer with ExoPlayer.
This is part of an effort to resolve deprecation warnings.

Most of this is simple refactoring of interfaces that change between
the two Player implementations.  There are a few other changes that
deserve further explanation.

Testing indicated that the play/pause button was being reset to pause
in MainActivity:refreshCurrentTrack.  In the past this was likely
masked by the ordering of other callbacks.  We have removed the
nowPlayingToggle.icon update from MainActivity, leaving that UI update
to PlayerService.

One of the bigger refactorings in PlayerService was forced by the
deprecation of Player.EventListener.onPlayerStateChanged.  That forced
separation of handling playWhenReady and playbackState transitions.
In the SimpleExoPlayer implementations, where these transitions were
combined, the module attempted to work out playing state from a
combination of these two state variables.

In addition to separating the reaction to these state changes, we have
added a listener to onIsPlayingChanged, eliminating the need for some
of the earlier logic in Player.EventListener.onPlayerStateChanged.
This addition, along with the separation of state transition
processing, seems to provide a simpler implementation.  But it is,
certainly, a possible source of bugs.
2022-12-06 09:35:33 +01:00
Renovate Bot a9aafef28b Update dependency io.mockk:mockk to v1.13.3 2022-11-29 13:30:42 +00:00
Renovate Bot 960adee40e Update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.7.21 2022-11-21 12:30:46 +00:00
Renovate Bot 470a32434b Update dependency org.robolectric:robolectric to v4.9 2022-11-21 10:00:53 +00:00
Renovate Bot 5d7307206e Update dependency com.google.code.gson:gson to v2.10 2022-11-21 09:31:12 +00:00
Renovate Bot 05717f1067 Update dependency androidx.test:core to v1.5.0 2022-11-08 20:30:47 +00:00
Renovate Bot 072dbaf0af Update dependency io.mockk:mockk to v1.13.2 2022-10-03 11:00:46 +00:00
Renovate Bot c1c218eb6f
Update dependency io.mockk:mockk to v1.12.7 2022-08-26 14:07:39 +02:00
Ryan Harg bfdac03d0c Upgrade to Kotlin 1.7.0 2022-08-26 12:06:41 +00:00
Renovate Bot 19155a9c25 Update dependency org.robolectric:robolectric to v4.8.2 2022-08-26 09:31:48 +00:00
Renovate Bot 05ab1d7dc2 Update plugin org.jlleitschuh.gradle.ktlint to v11 2022-08-26 08:31:40 +00:00
Renovate Bot 83c73ee046 Update dependency com.google.code.gson:gson to v2.9.1 2022-08-26 06:10:03 +00:00
Renovate Bot 5e789a2f28 Update dependency io.strikt:strikt-core to v0.34.1 2022-08-25 13:03:02 +00:00
Ryan Harg 7c91e819c9 Remove Versions object 2022-08-25 12:58:19 +00:00
Renovate Bot a1de2611a0 Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.5.1 2022-08-25 08:30:15 +00:00
Renovate Bot a6d3e0b597
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.6.4 2022-07-18 09:17:19 +02:00
Renovate Bot faadfc1da2 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.6.4 2022-07-18 06:46:30 +00:00
Renovate Bot f60dae75e9 Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.5.0 2022-07-06 11:14:20 +00:00
Renovate Bot 8ceaa85ac8 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.6.3 2022-06-24 09:30:40 +00:00
Renovate Bot b93decac7a Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.6.3 2022-06-21 08:17:22 +00:00
Renovate Bot 1171f6bd1f Update dependency androidx.appcompat:appcompat to v1.4.2 2022-06-04 06:01:18 +00:00
Renovate Bot 87965863d4 Update dependency androidx.core:core-ktx to v1.8.0 2022-06-01 17:00:34 +00:00
Renovate Bot 58d9a57a53 Update dependency com.google.android.material:material to v1.6.1 2022-06-01 10:49:19 +00:00
Renovate Bot 4a9d65624b Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.6.2 2022-06-01 09:30:43 +00:00
Renovate Bot 926075d591 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.6.2 2022-06-01 08:55:30 +00:00
Renovate Bot f8ad760fda Update dependency io.mockk:mockk to v1.12.4 2022-05-11 09:01:28 +00:00
Renovate Bot 23f7c509ee Update dependency com.google.android.material:material to v1.6.0 2022-05-06 11:53:46 +00:00
Renovate Bot 987f5a482a Update plugin org.jlleitschuh.gradle.ktlint to v10.3.0 2022-05-03 17:01:36 +00:00
Renovate Bot e17dc7531d Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.6.1 2022-04-22 08:00:53 +00:00
Renovate Bot 7d92d7d06b Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.6.1 2022-04-21 06:01:19 +00:00
RenovateBot 89d4515cd4 Update dependency androidx.preference:preference-ktx to v1.2.0 2022-03-07 08:32:52 +00:00
Renovate Bot 56784b5871 Update dependency androidx.coordinatorlayout:coordinatorlayout to v1.2.0 2022-03-03 10:03:18 +00:00
Renovate Bot 1b9cd0895f Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.4.1 2022-03-03 09:01:20 +00:00
Renovate Bot bbbefaaf60 Update dependency com.google.android.material:material to v1.5.0 2022-03-02 10:32:33 +00:00
Renovate Bot db6c484d56 Update dependency io.mockk:mockk to v1.12.3 2022-02-28 15:02:00 +00:00
Renovate Bot 3ae3ee7f5c Update dependency androidx.appcompat:appcompat to v1.4.1 2022-01-13 05:31:16 +00:00
Renovate Bot 519bb79ea7 Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.6.0 2022-01-03 15:08:43 +00:00
Renovate Bot 29c2784f13 Update dependency androidx.appcompat:appcompat to v1.4.0 2022-01-03 14:31:31 +00:00
Renovate Bot 658dd78b7f
Update dependency androidx.core:core-ktx to v1.7.0 2022-01-03 13:14:35 +01:00
Renovate Bot ba24fdd820 Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.4.0 2022-01-03 11:31:27 +00:00
Ryan Harg be67a5e593 Increase compileSdkVersion to 31 2022-01-03 08:59:32 +00:00
Renovate Bot 709bbd29bd Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.6.0 2021-12-31 16:31:18 +00:00
Renovate Bot fa2830634b Update plugin org.jlleitschuh.gradle.ktlint to v10.2.1 2021-12-31 13:13:33 +00:00
Renovate Bot d604629f3a Update dependency io.mockk:mockk to v1.12.2 2021-12-30 10:31:05 +00:00
Renovate Bot 37ad6eaf5b Update plugin org.jlleitschuh.gradle.ktlint to v10.2.0 2021-12-23 10:33:09 +00:00
Renovate Bot dc8a27535e Update dependency io.mockk:mockk to v1.12.1 2021-12-23 09:51:50 +00:00