mirror of https://github.com/tuskyapp/Tusky.git
Tree:
91bb19cd4c
develop
expired-auth
green-version-code-always-increase
hide-bots-in-timelines
main
poll-dialog-dismiss
prefs
preview-improvements
renovate/androidx.fragment
renovate/glide.animation.plugin
renovate/gradle-8.x
renovate/image.cropper
renovate/major-unified.push
renovate/org.jlleitschuh.gradle.ktlint-12.x
renovate/unified.push
rfc-issue-triage
simple-sse-2
unified-push-upgrade
view-update-on-tl-cache
v1.0.0
v1.0.0-alpha.1
v1.0.0-alpha.2
v1.0.0-alpha.3
v1.0.0-alpha.4
v1.0.0-alpha.5
v1.0.0-alpha.6
v1.0.0-alpha.7
v1.0.0-alpha.8
v1.0.1
v1.0.2
v1.0.3
v1.1.0
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.4-beta.1
v1.1.4-beta.3
v1.1.4-beta.4
v1.1.4-beta.5
v1.1.4-beta.6
v1.1.4-beta.7
v1.2.0
v1.2.1
v1.3.0
v1.3.1
v1.4.0
v1.4.1
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.7.0
v1.8.0
v10.0
v10.0-beta.1
v11.0
v11.0-beta.1
v12.0
v12.0-beta.1
v12.1
v13.0
v13.0-beta.1
v13.1
v14.0
v14.0-beta.1
v15.0
v15.0-beta.1
v15.1
v16.0
v16.0-beta.1
v16.0-beta.2
v16.0-beta.3
v17.0
v17.0-beta.1
v18.0
v18.0-beta.1
v19.0
v19.0-beta.1
v19.0-beta.2
v2.0
v2.0-beta.1
v2.0-beta.2
v2.1
v2.2
v2.3
v20.0
v20.0-beta.1
v20.0-beta.2
v21.0
v21.0-beta.1
v21.0-beta.2
v22.0
v22.0-beta.1
v22.0-beta.2
v22.0-beta.3
v22.0-beta.4
v22.0-beta.5
v22.0-beta.6
v22.0-beta.7
v23.0
v23.0-beta.1
v23.0-beta.2
v24.0
v24.0-beta.1
v24.1
v24.1-beta.1
v25.0
v25.0-beta.1
v25.1
v25.2
v26.0
v26.0-beta.1
v26.1
v26.2
v27.0
v27.0-beta.1
v27.1
v27.2
v28.0
v28.0-beta.1
v29.0
v29.0-beta.1
v3.0
v3.0-beta.1
v3.0-beta.2
v3.1
v4.0
v4.0-beta.1
v4.1
v5.0
v5.0-beta.1
v5.1
v5.2
v6.0
v6.0-beta.1
v6.1
v7.0
v7.0-beta.1
v7.1
v8.0
v8.0-beta.1
v8.1
v9.0
v9.0-beta.1
v9.1
${ noResults }
6030 Commits (91bb19cd4cebbbc590aa952fe0adf9dce2271875)
| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
91bb19cd4c
|
Update hilt to v2.56.2 (#5064)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.dagger.hilt.android](https://redirect.github.com/google/dagger) | `2.56.1` -> `2.56.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.dagger:hilt-compiler](https://redirect.github.com/google/dagger) | `2.56.1` -> `2.56.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.dagger:hilt-android](https://redirect.github.com/google/dagger) | `2.56.1` -> `2.56.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
12 months ago |
|
|
8ad5609aef
|
fix activity restart when emoji pack changed (#5057)
When the emoji pack changes and `MainActivity` is recreated status bar
and navigation bar turn dark in edge-to-edge mode (Android 15), we would
need [the same workaround as
here](
|
12 months ago |
|
|
3c7bc2de74
|
Update androidx.media3 to v1.6.1 (#5059)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [androidx.media3:media3-ui](https://redirect.github.com/androidx/media) | `1.6.0` -> `1.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.media3:media3-datasource-okhttp](https://redirect.github.com/androidx/media) | `1.6.0` -> `1.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.media3:media3-exoplayer](https://redirect.github.com/androidx/media) | `1.6.0` -> `1.6.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>androidx/media (androidx.media3:media3-ui)</summary> ### [`v1.6.1`](https://redirect.github.com/androidx/media/blob/HEAD/RELEASENOTES.md#161-2025-04-14) [Compare Source](https://redirect.github.com/androidx/media/compare/1.6.0...1.6.1) This release includes the following changes since the [1.6.0 release](#​160-2025-03-26): - Common Library: - Add `PlaybackParameters.withPitch(float)` method for easily copying a `PlaybackParameters` with a new `pitch` value ([#​2257](https://redirect.github.com/androidx/media/issues/2257)). - ExoPlayer: - Fix issue where media item transition fails due to recoverable renderer error during initialization of the next media item ([#​2229](https://redirect.github.com/androidx/media/issues/2229)). - Fix issue where `ProgressiveMediaPeriod` throws an `IllegalStateException` as `PreloadMediaSource` attempts to call its `getBufferedDurationUs()` before it is prepared ([#​2315](https://redirect.github.com/androidx/media/issues/2315)). - Fix sending `CmcdData` in manifest requests for DASH, HLS, and SmoothStreaming ([#​2253](https://redirect.github.com/androidx/media/pull/2253)). - Ensure `AdPlaybackState.withAdDurationsUs(long[][])` can be used after ad groups have been removed. The user still needs to pass in an array of durations for removed ad groups which can be empty or null ([#​2267](https://redirect.github.com/androidx/media/issues/2267)). - Extractors: - MP4: Parse `alternate_group` from the `tkhd` box and expose it as an `Mp4AlternateGroupData` entry in each track's `Format.metadata` ([#​2242](https://redirect.github.com/androidx/media/issues/2242)). - Audio: - Fix offload issue where the position might get stuck when playing a playlist of short content ([#​1920](https://redirect.github.com/androidx/media/issues/1920)). - Session: - Lower aggregation timeout for platform `MediaSession` callbacks from 500 to 100 milliseconds and add an experimental setter to allow apps to configure this value. - Fix issue where notifications reappear after they have been dismissed by the user ([#​2302](https://redirect.github.com/androidx/media/issues/2302)). - Fix a bug where the session returned a single-item timeline when the wrapped player is actually empty. This happened when the wrapped player doesn't have `COMMAND_GET_TIMELINE` available while `COMMAND_GET_CURRENT_MEDIA_ITEM` is available and the wrapped player is empty ([#​2320](https://redirect.github.com/androidx/media/issues/2320)). - Fix a bug where calling `MediaSessionService.setMediaNotificationProvider` is silently ignored after other interactions with the service like `setForegroundServiceTimeoutMs` ([#​2305](https://redirect.github.com/androidx/media/issues/2305)). - UI: - Enable `PlayerSurface` to work with `ExoPlayer.setVideoEffects` and `CompositionPlayer`. - Fix bug where `PlayerSurface` can't be recomposed with a new `Player`. - HLS extension: - Fix issue where chunk duration wasn't set in `CmcdData` for HLS media, causing an assertion failure when processing encrypted media segments ([#​2312](https://redirect.github.com/androidx/media/issues/2312)). - RTSP extension: - Add support for URI with RTSPT scheme as a way to configure the RTSP session to use TCP ([#​1484](https://redirect.github.com/androidx/media/issues/1484)). - Cast extension: - Add support for playlist metadata ([#​2235](https://redirect.github.com/androidx/media/pull/2235)). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
12 months ago |
|
|
41795c7fba
|
fix undead MainActivity appearing after browser login and back press (#5056)
To reproduce, login an additional account via Browser login and then press back. You will find yourself in a broken interface where the displayed posts don't match the logged-in account. This does not happen with Tusky login. Seems like `finishAffinity()` does not work as expected when there is an Activity of another app (the browser) on the stack. Fix with the nuclear option (starting a new task). Also remove the explode animation, as this was broken before (finish needs to be called after startActivity for the animation to appear) and animations between tasks don't work in newer Android versions anyway. |
12 months ago |
|
|
97efda2668
|
update shrinker rules and packaging excludes (#5055)
We wouldn't want to ship unnecessary stuff, would we
apk size 20.788.307 -> 20.768.841 bytes 🤪
|
12 months ago |
|
|
8062590f20
|
Translations update from Weblate (automated) (#5054)
Translations update from [Weblate](https://weblate.tusky.app) for [Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/). Current translation status:  |
12 months ago |
|
|
ad4d4cec6c |
Translated using Weblate (Kabyle)
Currently translated at 55.4% (393 of 709 strings) Co-authored-by: Moonshadow <Moonshadow@users.noreply.weblate.tusky.app> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/ Translation: Tusky/Tusky |
12 months ago |
|
|
cb6d8a6564 |
Translated using Weblate (Kabyle)
Currently translated at 54.3% (385 of 709 strings) Translated using Weblate (Kabyle) Currently translated at 53.3% (378 of 709 strings) Co-authored-by: Moonshadow <rgebbid@gmail.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/ Translation: Tusky/Tusky |
12 months ago |
|
|
dedd3d234b |
Translated using Weblate (Kabyle)
Currently translated at 53.3% (378 of 709 strings) Co-authored-by: ButterflyOfFire <butterflyoffire@protonmail.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/kab/ Translation: Tusky/Tusky |
12 months ago |
|
|
068d884aef
|
Update dependency androidx.core:core-ktx to v1.16.0 (#5049)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [androidx.core:core-ktx](https://developer.android.com/jetpack/androidx/releases/core#1.16.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `1.15.0` -> `1.16.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
e2f907a551
|
fix toolbar overlap in FiltersActivity on Android 15 (#5053)
closes #5052 |
1 year ago |
|
|
440d1a1c4e
|
Translations update from Weblate (automated) (#5051)
Translations update from [Weblate](https://weblate.tusky.app) for [Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/). Current translation status:  --------- Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com> Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app> Co-authored-by: Manuel <mannivuwiki@gmail.com> Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com> Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com> Co-authored-by: José M <xosem@disroot.org> |
1 year ago |
|
|
f2e52eecdb
|
Update plugin com.gradle.develocity to v4 (#5045)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | com.gradle.develocity | `3.19.2` -> `4.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzUuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzNS4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
80e8a40e8c
|
Update dependency com.squareup.okio:okio to v3.11.0 (#5050)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.squareup.okio:okio](https://redirect.github.com/square/okio) | `3.10.2` -> `3.11.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>square/okio (com.squareup.okio:okio)</summary> ### [`v3.11.0`](https://redirect.github.com/square/okio/blob/HEAD/CHANGELOG.md#Version-3110) *2025-04-09* - Fix: Clear the deflater's byte array reference - New: Faster implementation of `String.decodeHex()` on Kotlin/JS. - New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`. - Upgrade: \[Kotlin 2.1.20]\[kotlin\_2\_1\_20]. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
3b634b7373
|
Update androidx.room to v2.7.0 (#5048)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [androidx.room:room-testing](https://developer.android.com/jetpack/androidx/releases/room#2.7.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `2.6.1` -> `2.7.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.room:room-ktx](https://developer.android.com/jetpack/androidx/releases/room#2.7.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `2.6.1` -> `2.7.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.room:room-paging](https://developer.android.com/jetpack/androidx/releases/room#2.7.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `2.6.1` -> `2.7.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.room:room-compiler](https://developer.android.com/jetpack/androidx/releases/room#2.7.0) ([source](https://cs.android.com/androidx/platform/frameworks/support)) | `2.6.1` -> `2.7.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
509025623e |
Translated using Weblate (Galician)
Currently translated at 100.0% (709 of 709 strings) Co-authored-by: José M <xosem@disroot.org> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/ Translation: Tusky/Tusky |
1 year ago |
|
|
1a7f17b4d8 |
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (709 of 709 strings) Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/ Translation: Tusky/Tusky |
1 year ago |
|
|
bdb8d7451c |
Translated using Weblate (Ukrainian)
Currently translated at 96.8% (687 of 709 strings) Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/ Translation: Tusky/Tusky |
1 year ago |
|
|
e4725514fd |
Translated using Weblate (Italian)
Currently translated at 100.0% (709 of 709 strings) Co-authored-by: Manuel <mannivuwiki@gmail.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/ Translation: Tusky/Tusky |
1 year ago |
|
|
743a25db85 |
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (709 of 709 strings) Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/ Translation: Tusky/Tusky |
1 year ago |
|
|
4a150e82fe |
Translated using Weblate (Persian)
Currently translated at 100.0% (709 of 709 strings) Co-authored-by: Danial Behzadi <dani.behzi@ubuntu.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/fa/ Translation: Tusky/Tusky |
1 year ago |
|
|
751667c412
|
fix text selection shrinking the view in ViewThreadFragment (#5034)
https://layer8.space/@andre/114268763071943595 wtf is this bug 😳 Happens only on Android 15 I have no idea what exactly is going on here, I found this fix by trial and error. `outsideOverlay` seems to look exactly the same as `outsideInset` so i hope this is safe. |
1 year ago |
|
|
cce76aabd5
|
Update Kotlin to v1.10.2 (#5043)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://redirect.github.com/Kotlin/kotlinx.coroutines) | `1.10.1` -> `1.10.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://redirect.github.com/Kotlin/kotlinx.coroutines) | `1.10.1` -> `1.10.2` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)</summary> ### [`v1.10.2`](https://redirect.github.com/Kotlin/kotlinx.coroutines/blob/HEAD/CHANGES.md#Version-1102) [Compare Source](https://redirect.github.com/Kotlin/kotlinx.coroutines/compare/1.10.1...1.10.2) - Fixed the `kotlinx-coroutines-debug` JAR file including the `module-info.class` file twice, resulting in failures in various tooling ([#​4314](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4314)). Thanks, [@​RyuNen344](https://redirect.github.com/RyuNen344)! - Fixed `Flow.stateIn` hanging when the scope is cancelled in advance or the flow is empty ([#​4322](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4322)). Thanks, [@​francescotescari](https://redirect.github.com/francescotescari)! - Improved handling of dispatcher failures in `.limitedParallelism` ([#​4330](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4330)) and during flow collection ([#​4272](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4272)). - Fixed `runBlocking` failing to run its coroutine to completion in some cases if its JVM thread got interrupted ([#​4399](https://redirect.github.com/Kotlin/kotlinx.coroutines/issues/4399)). - Small tweaks, fixes, and documentation improvements. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzUuMiIsInVwZGF0ZWRJblZlciI6IjM5LjIzNS4yIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
b2b9e7e8f7
|
fix AccountMediaFragment insets (#5041)
see https://github.com/tuskyapp/Tusky/issues/5002#issuecomment-2781122748 |
1 year ago |
|
|
e65de1bea9
|
Fix unused translations lint warnings (#5036)
Fixes #5032 I added all languages that where marked as unused to the locale file. The only language that maybe is not really worth putting in there is berber with 36 translations right now. But in the end those 36 may be better (if they are correct). |
1 year ago |
|
|
c589fc7168
|
Translations update from Weblate (automated) (#5035)
Translations update from [Weblate](https://weblate.tusky.app) for [Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/). Current translation status:  --------- Co-authored-by: Manuel <mannivuwiki@gmail.com> Co-authored-by: Janusz Leidgens <weblate@janusz.de> |
1 year ago |
|
|
e2a0ccb141
|
migrate account list to viewmodel & paging (#5028)
This was the last of our fragments that didn't have a ViewModel and still used the old custom pagination Additional benefits: - Way better error handling (the old one didn't even work, in some cases it would look like success when it really failed) - smooter scrolling |
1 year ago |
|
|
fc081eaf26 |
Translated using Weblate (German)
Currently translated at 100.0% (701 of 701 strings) Co-authored-by: Janusz Leidgens <weblate@janusz.de> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/ Translation: Tusky/Tusky |
1 year ago |
|
|
870f02f64e |
Translated using Weblate (Italian)
Currently translated at 100.0% (701 of 701 strings) Translated using Weblate (Italian) Currently translated at 100.0% (701 of 701 strings) Co-authored-by: Manuel <mannivuwiki@gmail.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/ Translation: Tusky/Tusky |
1 year ago |
|
|
78a5da1763
|
Update dependency com.github.penfeizhou.android.animation:glide-plugin to v3.0.4 (#5033)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.github.penfeizhou.android.animation:glide-plugin](https://redirect.github.com/penfeizhou/APNG4Android) | `3.0.2` -> `3.0.4` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>penfeizhou/APNG4Android (com.github.penfeizhou.android.animation:glide-plugin)</summary> ### [`v3.0.4`](https://redirect.github.com/penfeizhou/APNG4Android/releases/tag/v3.0.4): Release 3.0.4 - Add API to get `frameIndex` ### [`v3.0.3`](https://redirect.github.com/penfeizhou/APNG4Android/releases/tag/v3.0.3): Release 3.0.3 - Fix some bugs </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMjcuMyIsInVwZGF0ZWRJblZlciI6IjM5LjIyNy4zIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
9b74ba0d24
|
Set up Licensee (#5030)
Refs #4024. |
1 year ago |
|
|
b6d35df37c
|
Translations update from Weblate (automated) (#5026)
Translations update from [Weblate](https://weblate.tusky.app) for [Tusky/Tusky](https://weblate.tusky.app/projects/tusky/tusky/). Current translation status:  --------- Co-authored-by: Anonymous <noreply@weblate.org> Co-authored-by: Connyduck <weblate@connyduck.at> Co-authored-by: Anna (cybertailor) Vyalkova <cyber@sysrq.in> Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app> Co-authored-by: Sveinn í Felli <sv1@fellsnet.is> Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com> Co-authored-by: Quentí <quentinantonin@free.fr> Co-authored-by: José M <xosem@disroot.org> |
1 year ago |
|
|
706a7f9c8f
|
fix crash when there are 2 or more unifiedpush distributors (#5015)
`UnifiedPush.registerAppWithDialog` will show a dialog when there are 2
or more distributors, for that it needs an activity context but we
passed an application one. I think this is improved in a newer Unified
push library version, will upgrade soon. In the meantime this change
fixes the crash.
```
android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:1314)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:421)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:149)
at android.app.Dialog.show(Dialog.java:352)
at org.unifiedpush.android.connector.UnifiedPush.registerAppWithDialog(UnifiedPush.kt:139)
at org.unifiedpush.android.connector.UnifiedPush.registerAppWithDialog$default(UnifiedPush.kt:67)
at com.keylesspalace.tusky.components.systemnotifications.NotificationService.setupPushNotificationsForAccount(NotificationService.kt:775)
at com.keylesspalace.tusky.components.systemnotifications.NotificationService.access$setupPushNotificationsForAccount(NotificationService.kt:76)
at com.keylesspalace.tusky.components.systemnotifications.NotificationService$setupPushNotificationsForAccount$1.invokeSuspend(Unknown Source:15)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7932)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)
```
|
1 year ago |
|
|
d3b3ef7d8a |
Translated using Weblate (Galician)
Currently translated at 100.0% (701 of 701 strings) Co-authored-by: José M <xosem@disroot.org> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/gl/ Translation: Tusky/Tusky |
1 year ago |
|
|
32fc6c0f40 |
Translated using Weblate (Occitan)
Currently translated at 96.0% (673 of 701 strings) Co-authored-by: Quentí <quentinantonin@free.fr> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/oc/ Translation: Tusky/Tusky |
1 year ago |
|
|
fcef781cfc |
Translated using Weblate (Vietnamese)
Currently translated at 100.0% (701 of 701 strings) Co-authored-by: Hồ Nhất Duy <mastoduy@gmail.com> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/ Translation: Tusky/Tusky |
1 year ago |
|
|
4377a835ea |
Translated using Weblate (Icelandic)
Currently translated at 100.0% (701 of 701 strings) Co-authored-by: Sveinn í Felli <sv1@fellsnet.is> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/ Translation: Tusky/Tusky |
1 year ago |
|
|
96dc4df1be |
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (701 of 701 strings) Co-authored-by: Eric <alchemillatruth@users.noreply.weblate.tusky.app> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/ Translation: Tusky/Tusky |
1 year ago |
|
|
de709ce63c |
Translated using Weblate (Russian)
Currently translated at 100.0% (701 of 701 strings) Co-authored-by: Anna (cybertailor) Vyalkova <cyber@sysrq.in> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/ru/ Translation: Tusky/Tusky |
1 year ago |
|
|
c7b3eb91e2 |
Translated using Weblate (German)
Currently translated at 99.8% (700 of 701 strings) Co-authored-by: Connyduck <weblate@connyduck.at> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/ Translation: Tusky/Tusky |
1 year ago |
|
|
fbf84e427e |
Translated using Weblate (Vietnamese)
Currently translated at 99.8% (700 of 701 strings) Translated using Weblate (Ukrainian) Currently translated at 97.4% (683 of 701 strings) Translated using Weblate (Icelandic) Currently translated at 99.8% (700 of 701 strings) Translated using Weblate (Chinese (Simplified)) Currently translated at 99.8% (700 of 701 strings) Translated using Weblate (Dutch) Currently translated at 92.5% (649 of 701 strings) Translated using Weblate (Italian) Currently translated at 99.7% (699 of 701 strings) Translated using Weblate (Hungarian) Currently translated at 89.8% (630 of 701 strings) Translated using Weblate (German) Currently translated at 99.8% (700 of 701 strings) Translated using Weblate (Czech) Currently translated at 93.4% (655 of 701 strings) Co-authored-by: Anonymous <noreply@weblate.org> Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/cs/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/de/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/hu/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/is/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/it/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/nl/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/uk/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/vi/ Translate-URL: https://weblate.tusky.app/projects/tusky/tusky/zh_Hans/ Translation: Tusky/Tusky |
1 year ago |
|
|
eea6e66929
|
Fix weblate (#5025)
|
1 year ago |
|
|
a34ee3ac8f
|
Merge remote-tracking branch 'weblate/develop' into fix-weblate
# Conflicts: # app/src/main/res/values-de/strings.xml |
1 year ago |
|
|
db84e2e01a
|
New icons (#5012)
This changes all icons to rounded Material symbols and additionally - removes the material typeface library - increases the size of the subscribe icon on profiles and makes the two states easier to distinguish - displays filled icons on selected tabs and outlined ones on unselected tabs - adjusts some colors to better fit into the themes - removes duplicate icons - establishes a naming convention for icons - when "download media previews" is off, gifs now have their own icon instead of sharing the video icon - changes the # and @ buttons in the compose view to use icons instead of text <img src="https://github.com/user-attachments/assets/c6289d1b-55d7-43e9-a7df-c3495b866fb2" width="260"/> <img src="https://github.com/user-attachments/assets/64bbcaf1-ace1-4ca6-8a7a-42486dd5d664" width="260"/> <img src="https://github.com/user-attachments/assets/2cfdb8ba-4ef9-4282-afa6-f0d4622a4f57" width="260"/> <img src="https://github.com/user-attachments/assets/4d3460ff-d29d-4c60-97d7-dd094f3287b9" width="260"/> |
1 year ago |
|
|
ff71d5d382
|
Update androidx.media3 to v1.6.0 (#5021)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [androidx.media3:media3-ui](https://redirect.github.com/androidx/media) | `1.5.1` -> `1.6.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.media3:media3-datasource-okhttp](https://redirect.github.com/androidx/media) | `1.5.1` -> `1.6.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [androidx.media3:media3-exoplayer](https://redirect.github.com/androidx/media) | `1.5.1` -> `1.6.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>androidx/media (androidx.media3:media3-ui)</summary> ### [`v1.6.0`](https://redirect.github.com/androidx/media/blob/HEAD/RELEASENOTES.md#160-2025-03-26) [Compare Source](https://redirect.github.com/androidx/media/compare/1.5.1...1.6.0) This release includes the following changes since the [1.5.1 release](#​151-2024-12-19): - Common Library: - Add `AudioManagerCompat` and `AudioFocusRequestCompat` to replace the equivalent classes in `androidx.media`. - Upgrade Kotlin from 1.9.20 to 2.0.20 and use Compose Compiler Gradle plugin. Upgrade KotlinX Coroutines library from 1.8.1 to 1.9.0. - Remove `Format.toBundle(boolean excludeMetadata)` method, use `Format.toBundle()` instead. - Fix bug in `SimpleBasePlayer` where setting a new `currentMediaItemIndex` in `State` after `setPlaylist` with `null` `MediaMetadata` does not reevaluate the metadata ([#​1940](https://redirect.github.com/androidx/media/issues/1940)). - Change `SimpleBasePlayer.State` access from protected to public to make it easier to handle updates in other classes ([#​2128](https://redirect.github.com/androidx/media/issues/2128)). - ExoPlayer: - Add `MediaExtractorCompat`, a new class that provides equivalent features to platform `MediaExtractor`. - Add experimental 'ExoPlayer' pre-warming support for playback using `MediaCodecVideoRenderer`. You can configure `DefaultRenderersFactory` through `experimentalSetEnableMediaCodecVideoRendererPrewarming` to provide a secondary `MediaCodecVideoRenderer` to `ExoPlayer`. If enabled, `ExoPlayer` pre-processes the video of consecutive media items during playback to reduce media item transition latency. - Reduce default values for `bufferForPlaybackMs` and `bufferForPlaybackAfterRebufferMs` in `DefaultLoadControl` to 1000 and 2000 ms respectively. - Initialize `DeviceInfo` and device volume asynchronously (if enabled using `setDeviceVolumeControlEnabled`). These values aren't available instantly after `ExoPlayer.Builder.build()`, and `Player.Listener` notifies changes through `onDeviceInfoChanged` and `onDeviceVolumeChanged`. - Initial audio session id is no longer immediately available after creating the player. You can use `AnalyticsListener.onAudioSessionIdChanged` to listen to the initial update if required. - Consider language when selecting a video track. By default, select a 'main' video track that matches the language of the selected audio track, if available. Explicit video language preferences can be expressed with `TrackSelectionParameters.Builder.setPreferredVideoLanguage(s)`. - Add `selectedAudioLanguage` parameter to `DefaultTrackSelector.selectVideoTrack()` method. - Add `retryCount` parameter to `MediaSourceEventListener.onLoadStarted` and corresponding `MediaSourceEventListener.EventDispatcher` methods. - Fix bug where playlist items or periods in multi-period DASH streams with durations that don't match the actual content could cause frame freezes at the end of the item ([#​1698](https://redirect.github.com/androidx/media/issues/1698)). - Move `BasePreloadManager.Listener` to a top-level `PreloadManagerListener`. - `RenderersFactory.createSecondaryRenderer` can be implemented to provide secondary renderers for pre-warming. Pre-warming enables quicker media item transitions during playback. - Enable sending `CmcdData` for manifest requests in adaptive streaming formats DASH, HLS, and SmoothStreaming ([#​1951](https://redirect.github.com/androidx/media/issues/1951)). - Provide `MediaCodecInfo` of the codec that will be initialized in `MediaCodecRenderer.onReadyToInitializeCodec` ([#​1963](https://redirect.github.com/androidx/media/pull/1963)). - Change `AdsMediaSource` to allow the `AdPlaybackStates` to grow by appending ad groups. Invalid modifications are detected and throw an exception. - Fix issue where additional decode-only frames may be displayed in quick succession when transitioning to content media after a mid-roll ad. - Make `DefaultRenderersFactory` add two `MetadataRenderer` instances to enable apps to receive two different schemes of metadata by default. - Reevaluate whether the ongoing load of a chunk should be cancelled when playback is paused ([#​1785](https://redirect.github.com/androidx/media/pull/1785)). - Add option to `ClippingMediaSource` to allow clipping in unseekable media. - Fix bug where seeking with pre-warming could block following media item transition. - Fix a bug where `ExoPlayer.isLoading()` remains `true` while it has transitioned to `STATE_IDLE` or `STATE_ENDED` ([#​2133](https://redirect.github.com/androidx/media/issues/2133)). - Add `lastRebufferRealtimeMs` to `LoadControl.Parameter` ([#​2113](https://redirect.github.com/androidx/media/pull/2113)). - Transformer: - Add support for transmuxing into alternative backward compatible formats. - Add support for transcoding and transmuxing Dolby Vision (profile 8) format. - Update parameters of `VideoFrameProcessor.registerInputStream` and `VideoFrameProcessor.Listener.onInputStreamRegistered` to use `Format`. - Generate HDR static metadata when using `DefaultEncoderFactory`. - Enable support for Android platform diagnostics using `MediaMetricsManager`. Transformer forwards editing events and performance data to the platform, which helps to provide system performance and debugging information on the device. This data may also be collected by Google [if sharing usage and diagnostics data is enabled](https://support.google.com/accounts/answer/6078260) by the user of the device. Apps can opt-out of contributing to platform diagnostics for Transformer with `Transformer.Builder.setUsePlatformDiagnostics(false)`. - Split `InAppMuxer` into `InAppMp4Muxer` and `InAppFragmentedMp4Muxer`. You use `InAppMp4Muxer` to produce a non-fragmented MP4 file, while `InAppFragmentedMp4Muxer` is for producing a fragmented MP4 file. - Move `Muxer` interface from `media3-muxer` to `media3-transformer`. - Add `MediaProjectionAssetLoader`, which provides media from a `MediaProjection` for screen recording, and add support for screen recording to the Transformer demo app. - Add `#getInputFormat()` to `Codec` interface. - Shift the responsibility to release the `GlObjectsProvider` onto the caller in `DefaultVideoFrameProcessor` and `DefaultVideoCompositor` when possible. - Extractors: - AVI: Fix handling of files with constant bitrate compressed audio where the stream header stores the number of bytes instead of the number of chunks. - Fix handling of NAL units with lengths expressed in 1 or 2 bytes (rather than 4). - Fix `ArrayIndexOutOfBoundsException` in MP4 edit lists when the edit list starts at a non-sync frame with no preceding sync frame ([#​2062](https://redirect.github.com/androidx/media/issues/2062)). - Fix issue where TS streams can get stuck on some devices ([#​2069](https://redirect.github.com/androidx/media/issues/2069)). - FLAC: Add support for 32-bit FLAC files. Previously these would fail to play with `IllegalStateException: Playback stuck buffering and not loading` ([#​2197](https://redirect.github.com/androidx/media/issues/2197)). - Audio: - Fix `onAudioPositionAdvancing` to be called when playback resumes (previously it was called when playback was paused). - Don't bypass `SonicAudioProcessor` when `SpeedChangingAudioProcessor` is configured with default parameters. - Fix underflow in `Sonic#getOutputSize()` that could cause `DefaultAudioSink` to stall. - Fix `MediaCodecAudioRenderer.getDurationToProgressUs()` and `DecoderAudioRenderer.getDurationToProgressUs()` so that seeks correctly reset the provided durations. - Make `androidx.media3.common.audio.SonicAudioProcessor` final. - Add support for float PCM to `ChannelMappingAudioProcessor` and `TrimmingAudioProcessor`. - Video: - Change `MediaCodecVideoRenderer.shouldUsePlaceholderSurface` to protected so that applications can override to block usage of placeholder surfaces ([#​1905](https://redirect.github.com/androidx/media/pull/1905)). - Add experimental `ExoPlayer` AV1 sample dependency parsing to speed up seeking. Enable it with the new `DefaultRenderersFactory.experimentalSetParseAv1SampleDependencies` API. - Add experimental `ExoPlayer` API to drop late `MediaCodecVideoRenderer` decoder input buffers that are not depended on. Enable it with `DefaultRenderersFactory.experimentalSetLateThresholdToDropDecoderInputUs`. - Fix issue where a player without a surface was ready immediately and very slow decoding any pending frames ([#​1973](https://redirect.github.com/androidx/media/issues/1973)). - Exclude Xiaomi and OPPO devices from detached surface mode to avoid screen flickering ([#​2059](https://redirect.github.com/androidx/media/issues/2059)). - Text: - Add support for VobSub subtitles ([#​8260](https://redirect.github.com/google/ExoPlayer/issues/8260)). - Stop eagerly loading all subtitle files configured with `MediaItem.Builder.setSubtitleConfigurations`, and instead only load one if it is selected by track selection ([#​1721](https://redirect.github.com/androidx/media/issues/1721)). - TTML: Add support for referencing `tts:origin` and `tts:extent` using `style` ([#​2953](https://redirect.github.com/google/ExoPlayer/issues/2953)). - Restrict WebVTT and SubRip timestamps to exactly 3 decimal places. Previously we incorrectly parsed any number of decimal places but always assumed the value was in milliseconds, leading to incorrect timestamps ([#​1997](https://redirect.github.com/androidx/media/issues/1997)). - Fix playback hanging when a playlist contains clipped items with CEA-608 or CEA-708 captions. - Fix `IllegalStateException` when an SSA file contains a cue with zero duration (start and end time equal) ([#​2052](https://redirect.github.com/androidx/media/issues/2052)). - Suppress (and log) subtitle parsing errors when subtitles are muxed into the same container as audio and video ([#​2052](https://redirect.github.com/androidx/media/issues/2052)). - Fix handling of multi-byte UTF-8 characters in WebVTT files using CR line endings ([#​2167](https://redirect.github.com/androidx/media/issues/2167)). - DRM: - Fix `MediaCodec$CryptoException: Operation not supported in this configuration` error when playing ClearKey content on API < 27 devices ([#​1732](https://redirect.github.com/androidx/media/issues/1732)). - Effect: - Moved the functionality of `OverlaySettings` into `StaticOverlaySettings`. `OverlaySettings` can be subclassed to allow dynamic overlay settings. - Muxers: - Moved `MuxerException` out of `Muxer` interface to avoid a very long fully qualified name. - Renamed `setSampleCopyEnabled()` method to `setSampleCopyingEnabled()` in both `Mp4Muxer.Builder` and `FragmentedMp4Muxer.Builder`. - `Mp4Muxer.addTrack()` and `FragmentedMp4Muxer.addTrack()` now return an `int` track ID instead of a `TrackToken`. - `Mp4Muxer` and `FragmentedMp4Muxer` no longer implement `Muxer` interface. - Disable `Mp4Muxer` sample batching and copying by default. - Fix a bug in `FragmentedMp4Muxer` that creates a lot of fragments when only audio track is written. - Session: - Keep foreground service state for an additional 10 minutes when playback pauses, stops or fails. This allows users to resume playback within this timeout without risking foreground service restrictions on various devices. Note that simply calling `player.pause()` can no longer be used to stop the foreground service before `stopSelf()` when overriding `onTaskRemoved`, use `MediaSessionService.pauseAllPlayersAndStopSelf()` instead. - Keep notification visible when playback enters an error or stopped state. The notification is only removed if the playlist is cleared or the player is released. - Improve handling of Android platform MediaSession actions ACTION_PLAY and ACTION_PAUSE to only set one of them according to the available commands and also accept if only one of them is set. - Add `Context` as a parameter to `MediaButtonReceiver.shouldStartForegroundService` ([#​1887](https://redirect.github.com/androidx/media/issues/1887)). - Fix bug where calling a `Player` method on a `MediaController` connected to a legacy session dropped changes from a pending update. - Make `MediaSession.setSessionActivity(PendingIntent)` accept null ([#​2109](https://redirect.github.com/androidx/media/issues/2109)). - Fix bug where a stale notification stays visible when the playlist is cleared ([#​2211](https://redirect.github.com/androidx/media/issues/2211)). - UI: - Add state holders and composables to the `media3-ui-compose` module for `PlayerSurface`, `PresentationState`, `PlayPauseButtonState`, `NextButtonState`, `PreviousButtonState`, `RepeatButtonState`, `ShuffleButtonState` and `PlaybackSpeedState`. - Downloads: - Fix bug in `CacheWriter` that leaves data sources open and cache areas locked in case the data source throws an `Exception` other than `IOException` ([#​9760](https://redirect.github.com/google/ExoPlayer/issues/9760)). - HLS extension: - Add a first version of `HlsInterstitialsAdsLoader`. The ads loader reads the HLS interstitials of an HLS media playlist and maps them to the `AdPlaybackState` that is passed to the `AdsMediaSource`. This initial version only supports HLS VOD streams with `X-ASSET-URI` attributes. - Add `HlsInterstitialsAdsLoader.AdsMediaSourceFactory`. Apps can use it to create `AdsMediaSource` instances that use an `HlsInterstitialsAdsLoader` in a convenient and safe way. - Parse `SUPPLEMENTAL-CODECS` tag from HLS playlist to detect Dolby Vision formats ([#​1785](https://redirect.github.com/androidx/media/pull/1785)). - Loosen the condition for seeking to sync positions in an HLS stream ([#​2209](https://redirect.github.com/androidx/media/issues/2209)). - DASH extension: - Add AC-4 Level-4 format support for DASH ([#​1898](https://redirect.github.com/androidx/media/pull/1898)). - Fix issue when calculating the update interval for ad insertion in multi-period live streams ([#​1698](https://redirect.github.com/androidx/media/issues/1698)). - Parse `scte214:supplementalCodecs` attribute from DASH manifest to detect Dolby Vision formats ([#​1785](https://redirect.github.com/androidx/media/pull/1785)). - Improve handling of period transitions in live streams where the period contains media samples beyond the declared period duration ([#​1698](https://redirect.github.com/androidx/media/issues/1698)). - Fix issue where adaptation sets marked with `adaptation-set-switching` but different languages or role flags are merged together ([#​2222](https://redirect.github.com/androidx/media/issues/2222)). - Decoder extensions (FFmpeg, VP9, AV1, etc.): - Add the MPEG-H decoder module which uses the native MPEG-H decoder module to decode MPEG-H audio ([#​1826](https://redirect.github.com/androidx/media/pull/1826)). - MIDI extension: - Plumb custom `AudioSink` and `AudioRendererEventListener` instances into `MidiRenderer`. - Cast extension: - Bump the `play-services-cast-framework` dependency to 21.5.0 to fix a `FLAG_MUTABLE` crash in apps targeting API 34+ on devices with Google Play services installed but disabled ([#​2178](https://redirect.github.com/androidx/media/issues/2178)). - Demo app: - Extend `demo-compose` with additional buttons and enhance `PlayerSurface` integration with scaling and shutter support. - Remove deprecated symbols: - Remove deprecated `AudioMixer.create()` method. Use `DefaultAudioMixer.Factory().create()` instead. - Remove the following deprecated `Transformer.Builder` methods: - `setTransformationRequest()`, use `setAudioMimeType()`, `setVideoMimeType()`, and `setHdrMode()` instead. - `setAudioProcessors()`, set the audio processor in an `EditedMediaItem.Builder.setEffects()`, and pass it to `Transformer.start()` instead. - `setVideoEffects()`, set video effect in an `EditedMediaItem.Builder.setEffects()`, and pass it to `Transformer.start()` instead. - `setRemoveAudio()`, use `EditedMediaItem.Builder.setRemoveAudio()` to remove the audio from the `EditedMediaItem` passed to `Transformer.start()` instead. - `setRemoveVideo()`, use `EditedMediaItem.Builder.setRemoveVideo()` to remove the video from the `EditedMediaItem` passed to `Transformer.start()` instead. - `setFlattenForSlowMotion()`, use `EditedMediaItem.Builder.setFlattenForSlowMotion()` to flatten the `EditedMediaItem` passed to `Transformer.start()` instead. - `setListener()`, use `addListener()`, `removeListener()` or `removeAllListeners()` instead. - Remove the following deprecated `Transformer.Listener` methods: - `onTransformationCompleted(MediaItem)`, use `onCompleted(Composition, ExportResult)` instead. - `onTransformationCompleted(MediaItem, TransformationResult)`, use `onCompleted(Composition, ExportResult)` instead. - `onTransformationError(MediaItem, Exception)`, use `onError(Composition, ExportResult, ExportException)` instead. - `onTransformationError(MediaItem, TransformationException)`, use `onError(Composition, ExportResult, ExportException)` instead. - `onTransformationError(MediaItem, TransformationResult, TransformationException)`, use `onError(Composition, ExportResult, ExportException)` instead. - `onFallbackApplied(MediaItem, TransformationRequest, TransformationRequest)`, use `onFallbackApplied(Composition, TransformationRequest, TransformationRequest)` instead. - Remove deprecated `TransformationResult` class. Use `ExportResult` instead. - Remove deprecated `TransformationException` class. Use `ExportException` instead. - Remove deprecated `Transformer.PROGRESS_STATE_NO_TRANSFORMATION`. Use `Transformer.PROGRESS_STATE_NOT_STARTED` instead. - Remove deprecated `Transformer.setListener()`. Use `Transformer.addListener()`, `Transformer.removeListener()` or `Transformer.removeAllListeners()` instead. - Remove deprecated `Transformer.startTransformation()`. Use `Transformer.start(MediaItem, String)` instead. - Remove deprecated `SingleFrameGlShaderProgram`. Use `BaseGlShaderProgram` instead. - Remove `Transformer.flattenForSlowMotion`. Use `EditedMediaItem.flattenForSlowMotion` instead. - Removed `ExoPlayer.VideoComponent`, `ExoPlayer.AudioComponent`, `ExoPlayer.TextComponent` and `ExoPlayer.DeviceComponent`. - Removed `androidx.media3.exoplayer.audio.SonicAudioProcessor`. - Removed the following deprecated `DownloadHelper` methods: - Constructor `DownloadHelper(MediaItem, @​Nullable MediaSource, TrackSelectionParameters, RendererCapabilities[])`, use `DownloadHelper(MediaItem, @​Nullable MediaSource, TrackSelectionParameters, RendererCapabilitiesList)` instead. - `getRendererCapabilities(RenderersFactory)`, equivalent functionality can be achieved by creating a `DefaultRendererCapabilitiesList` with a `RenderersFactory`, and calling `DefaultRendererCapabilitiesList.getRendererCapabilities()`. - Removed `PlayerNotificationManager.setMediaSessionToken(MediaSessionCompat)` method. Use `PlayerNotificationManager.setMediaSessionToken(MediaSession.Token)` and pass in `(MediaSession.Token) compatToken.getToken()` instead. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
31cb086a1c
|
Update plugin google-ksp to v2.1.20-1.0.32 (#5020)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.devtools.ksp](https://goo.gle/ksp) ([source](https://redirect.github.com/google/ksp)) | `2.1.20-1.0.31` -> `2.1.20-1.0.32` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>google/ksp (com.google.devtools.ksp)</summary> ### [`v2.1.20-1.0.32`](https://redirect.github.com/google/ksp/releases/tag/2.1.20-1.0.32) [Compare Source](https://redirect.github.com/google/ksp/compare/2.1.20-1.0.31...2.1.20-1.0.32) ##### What's Changed [#​2379](https://redirect.github.com/google/ksp/issues/2379) \[KSP2] resolved type of vararg parameter in functions changed vs KSP1 [#​2358](https://redirect.github.com/google/ksp/issues/2358) \[KSP2] Annotation missing from property when VALUE_PARAMETER target is used. And various performance optimizations! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> |
1 year ago |
|
|
65fc24b5af
|
Update hilt to v2.56.1 (#5017)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.dagger.hilt.android](https://redirect.github.com/google/dagger) | `2.56` -> `2.56.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.dagger:hilt-compiler](https://redirect.github.com/google/dagger) | `2.56` -> `2.56.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [com.google.dagger:hilt-android](https://redirect.github.com/google/dagger) | `2.56` -> `2.56.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/tuskyapp/Tusky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMDcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjIwNy4xIiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6W119--> |
1 year ago |
|
|
9489c2e669
|
Metadata translations update from Weblate (automated) (#5016)
Translations update from [Weblate](https://weblate.tusky.app) for [Tusky/Tusky description](https://weblate.tusky.app/projects/tusky/tusky-app/). Current translation status:  Co-authored-by: Deleted User <noreply+358@weblate.org> |
1 year ago |
|
|
224d7e44ca
|
remove duplicate notification channel (#5013)
fixes #5009 |
1 year ago |
|
|
9b1717c321
|
fix Tusky sometimes displaying empty tabs (#5007)
Sometimes a tab is just empty after switching to it, but content appears as soon as you interact with it. I found that setting a `offscreenPageLimit` on the `ViewPager2` makes that issue go away. This also has the side effect that the content of more tabs is preloaded, which makes tab switching *feel* different, one does not see so many loading spinners, content is just there instantly. I'm not sure if that is desireable but I would like to try it out for a while. If it happens to be a problem we can still move tab initialization to when it is actually visible. |
1 year ago |