Commit Graph

143 Commits

Author SHA1 Message Date
Renovate Bot bea9c5b75a chore(deps): update dependency io.insert-koin:koin-test to v3.5.3
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale-android/-/merge_requests/347>
2024-02-22 19:01:22 +00:00
Renovate Bot 3ebf11a6f6 chore(deps): update dependency io.insert-koin:koin-core to v3.5.3
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale-android/-/merge_requests/346>
2024-02-22 18:24:22 +00:00
Renovate Bot 10035aa5fe chore(deps): update dependency io.insert-koin:koin-android to v3.5.3
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale-android/-/merge_requests/345>
2024-02-22 09:44:21 +00:00
Renovate Bot 22a72d9e83 chore(deps): update dependency androidx.preference:preference-ktx to v1.2.1
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale-android/-/merge_requests/341>
2024-01-25 22:44:39 +00:00
Hugh Daschbach b27e4c85ee Adjustments for Gradle 8 build environment.
Gradle 8 requires JDK version 11.
Update build class path to pick up new Gradle version.
2023-12-14 22:13:18 -08:00
Hugh Daschbach 4dba9e29dd chore(deps): update dependency io.insert-koin:koin-test to v3.5.0 2023-11-06 12:21:47 -08:00
Hugh Daschbach 629ce2b309 chore(deps): update dependency io.insert-koin:koin-core to v3.5.0 2023-11-06 12:21:07 -08:00
Renovate Bot 080ba21c35 chore(deps): update dependency io.insert-koin:koin-android to v3.5.0 2023-11-06 12:19:23 -08:00
Christophe Henry 31908b6175 Fix buffering progress bar display 2023-10-02 20:30:09 +02:00
Christophe Henry 056e3a4d66 Use MotionLayout to animate bottom sheet opening 2023-09-27 15:56:15 +02:00
Christophe Henry 45773aac8d Improve player bottom sheet, in particular fling support 2023-09-18 17:35:26 +02:00
Hugh Daschbach 9c3d965a7e Fix Java version for gradle:7.4.2.
When Gradle version was bumped to 7.0.0, it required Java version 11.
In 82b9121 (2022/01/05), .sdkmanrc was adjusted to accommodate.  But
app/build.gradle.kts was not.

More recent Gradle releases have started to complain:
,----
| > Could not resolve all files for configuration ':classpath'.
|    > Could not resolve com.android.tools.build:gradle:7.4.2.
|      Required by:
|          project :
|       > No matching variant of com.android.tools.build:gradle:7.4.2 was found. The consumer was configured to find a library for use during runtime, compatible with Java 8, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin
| .api-version' with value '8.0.2' but:
|           - Variant 'apiElements' capability com.android.tools.build:gradle:7.4.2 declares a library, packaged as a jar, and its dependencies declared externally:
|               - Incompatible because this component declares a component for use during compile-time, compatible with Java 11 and the consumer needed a component for use during runtime, compatible with Java 8
|               - Other compatible attribute:
|                   - Doesn't say anything about org.gradle.plugin.api-version (required '8.0.2')
`----

Adjust gradle’s specification to suit.
2023-06-03 15:20:48 +00:00
Renovate Bot 1d5578febf chore(deps): update plugin com.github.triplet.play to v3.8.1 2023-04-19 10:30:51 +00:00
Georg krause de1cd69646 chore: Remove dependency that pulls in proprietary libs 2023-04-18 11:27:41 +02:00
Georg krause 0075c10442 feat: Add sentry reporting to dev builds 2023-04-06 08:02:20 +00:00
Renovate Bot 879d873156 chore(deps): update dependency io.mockk:mockk-android to v1.13.4 2023-04-05 01:30:48 +00:00
Renovate Bot 3d03067069 chore(deps): update dependency io.mockk:mockk to v1.13.4 2023-04-04 10:01:08 +00:00
Renovate Bot 77eb1899fd chore(deps): update dependency androidx.appcompat:appcompat to v1.6.1 2023-04-04 08:18:50 +00:00
Renovate Bot 201e8722b7 chore(deps): update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.8.20 2023-04-03 18:06:29 +00:00
Renovate Bot e04f718335 chore(deps): update plugin org.jlleitschuh.gradle.ktlint to v11.2.0 2023-02-20 14:01:30 +00:00
Renovate Bot 0a32036558 chore(deps): update dependency com.github.aliasadi:powerpreference to v2.1.1 2023-01-31 00:30:34 +00:00
Renovate Bot 62ce3c7f60 chore(deps): update plugin org.jlleitschuh.gradle.ktlint to v11.1.0 2023-01-27 18:33:33 +00:00
Renovate Bot fb09b95fb0 chore(deps): update dependency com.google.android.material:material to v1.8.0 2023-01-24 22:33:36 +00:00
Renovate Bot 56792e1940 chore(deps): update dependency androidx.appcompat:appcompat to v1.6.0 2023-01-11 20:33:34 +00:00
Renovate Bot dd1f7ddca8 chore(deps): update dependency androidx.appcompat:appcompat to v1.5.1 2023-01-11 08:33:08 +00:00
Ryan Harg c10b3d4a75 Keep the player always on top 2023-01-10 12:56:20 +00:00
Renovate Bot 83cf417e5a Update dependency com.google.code.gson:gson to v2.10.1 2023-01-06 16:31:02 +00:00
RenovateBot 7abbd8dbaa Update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk7 to v1.8.0 2023-01-05 13:09:31 +00:00
RenovateBot 7f0671b055 Update dependency io.insert-koin:koin-core to v3.3.2 2023-01-04 12:35:33 +00:00
Renovate Bot ecc9e6e096 Update dependency org.robolectric:robolectric to v4.9.2 2023-01-02 21:30:47 +00:00
Renovate Bot 1fb05f567d Update dependency org.robolectric:robolectric to v4.9.1 2022-12-20 09:30:51 +00:00
RenovateBot bfab20a2b3 Update dependency io.insert-koin:koin-core to v3.3.0 2022-12-15 08:53:01 +00:00
Renovate Bot 5c35c7e389 Update dependency androidx.core:core-ktx to v1.9.0 2022-12-08 09:24:43 +00:00
RenovateBot 9f7f0294f6 Update dependency com.google.android.material:material to v1.7.0 2022-12-08 09:23:58 +00:00
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