Commit Graph

413 Commits

Author SHA1 Message Date
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
Hugh Daschbach 48570e24ea Minor cleanup: consistent deserialization. 2022-09-03 11:09:21 +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
Hugh Daschbach 79e27578e5 Fix issue #124 - empty queue on restart.
The Gson deserializer required parameter is a reader object.  It
silently fails when passed a string.
2022-07-21 11:15:54 +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
Georg Krause d1c4bbfd29 Added translation using Weblate (Basque) 2022-06-26 11:35:43 +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
Ryan Harg 8f1f565652 Bugfix/122 fix resource leakage 2022-06-21 08:03:46 +00:00
Ryan Harg c43baae8e8 #117: Use the same contentId when adding and removing downloads 2022-06-17 09:50:39 +00:00
Ryan Harg 1b0381fde4 #119: Default deserializer has no string deserialization implementation 2022-06-16 13:10:10 +00:00
Hugh Daschbach 37e270071a
Fix Bluetooth control button unresponsiveness.
With Oreo and later, Bluetooth control buttons may kill FFA if it is
not the foreground application.  Once this happens to resume playback,
one needs to restart playback from the phone, rather than the
play/pause action of Bluetooth headset.

For example:
    D MediaSessionService: Sending KeyEvent { action=ACTION_UP, keyCode=KEYCODE_MEDIA_PLAY, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=0, downTime=0, deviceId=-1, source=0x0 } to audio.funkwhale.ffa.dev/audio.funkwhale.ffa.dev (

    W ActivityManager: Background start not allowed: service Intent { act=android.intent.action.MEDIA_BUTTON cmp=audio.funkwhale.ffa.dev/audio.funkwhale.ffa.playback.PlayerService (has extras) } to audio.funkwhale.ffa.dev/audio.funkwhale.ffa.play
   549 uid=10149 pkg=audio.funkwhale.ffa.dev startFg?=false
    D AndroidRuntime: Shutting down VM
   --------- beginning of crash
    E AndroidRuntime: FATAL EXCEPTION: main
    E AndroidRuntime: Process: audio.funkwhale.ffa.dev, PID: 14549
    E AndroidRuntime: java.lang.IllegalStateException: Not allowed to start service Intent { act=android.intent.action.MEDIA_BUTTON cmp=audio.funkwhale.ffa.dev/audio.funkwhale.ffa.playback.PlayerService (has extras) }: app is in background uid UidRecord{72fa8f8 u0a149 CAC  bg:+11m56s597ms idle change:cached procs:1 seq(0,0,0)}
    E AndroidRuntime:        at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1577)
    E AndroidRuntime:        at android.app.ContextImpl.startService(ContextImpl.java:1532)
    E AndroidRuntime:        at android.content.ContextWrapper.startService(ContextWrapper.java:664)
    E AndroidRuntime:        at audio.funkwhale.ffa.playback.MediaSession$connector$2.invoke$lambda-3$lambda-2(MediaSession.kt:47)
    E AndroidRuntime:        at audio.funkwhale.ffa.playback.MediaSession$connector$2.$r8$lambda$jU84j_zRyeYuvwLrRY0b6XyQBMs(Unknown Source:0)
    E AndroidRuntime:        at audio.funkwhale.ffa.playback.MediaSession$connector$2$$ExternalSyntheticLambda0.onMediaButtonEvent(Unknown Source:2)
    E AndroidRuntime:        at com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector$ComponentListener.onMediaButtonEvent(MediaSessionConnector.java:1396)
    E AndroidRuntime:        at android.support.v4.media.session.MediaSessionCompat$Callback$MediaSessionCallbackApi21.onMediaButtonEvent(MediaSessionCompat.java:1602)
    E AndroidRuntime:        at android.media.session.MediaSession$CallbackMessageHandler.handleMessage(MediaSession.java:1471)
    E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:106)
    E AndroidRuntime:        at android.os.Looper.loop(Looper.java:193)
    E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:6718)
    E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
    E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
    E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
    W ActivityManager:   Force finishing activity audio.funkwhale.ffa.dev/audio.funkwhale.ffa.activities.MainActivity

xref: https://stackoverflow.com/questions/46445265/android-8-0-java-lang-illegalstateexception-not-allowed-to-start-service-inten
2022-06-16 14:02:20 +02:00
Ryan Harg 70d9ba241b Fix "A resource failed to call close." warnings. 2022-06-12 12:48:32 +00:00
Ryan Harg 20ee27da21 fix authorization 2022-06-11 14:37:38 +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
Ryan Harg a6b1730c4a #116: Fix playback order to respect preference setting on albums fragment 2022-04-22 11:39:14 +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
Éilias McTalún f77b2e51e5 Translated using Weblate (Irish)
Currently translated at 13.7% (16 of 116 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/ga/
2022-04-21 05:59:34 +00:00
Éilias McTalún 02a6112eeb Added translation using Weblate (Irish) 2022-04-16 03:46:19 +00:00
RenovateBot 89d4515cd4 Update dependency androidx.preference:preference-ktx to v1.2.0 2022-03-07 08:32:52 +00:00
Ryan Harg 45ef5eb189
Fix linting errors 2022-03-04 09:30:03 +01: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
Mouath Ibrahim c29e36c697 Bugfix/113 fix invalid null handling playlist 2022-02-25 09:35:01 +00:00
ghose 41519bda81 Translated using Weblate (Galician)
Currently translated at 100.0% (116 of 116 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/gl/
2022-02-19 14:17:02 +00:00
Michael Long 8529fc441d Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (116 of 116 strings)

Translation: Funkwhale/Funkwhale For Android
Translate-URL: https://translate.funkwhale.audio/projects/funkwhale/ffa/zh_Hans/
2022-01-31 19:36:49 +00:00
Renovate Bot 3ae3ee7f5c Update dependency androidx.appcompat:appcompat to v1.4.1 2022-01-13 05:31:16 +00:00