Repository navigation
app: backport some commits from upstream 5.19-5.20 - #45
Merged
Merged
Conversation
lfdevs
force-pushed
the
main
branch
2 times, most recently
from
September 2, 2026 11:56
56de914 to
23c7743
Compare
lfdevs
force-pushed
the
dev/app/backport-upstream-5.20
branch
from
September 2, 2026 11:56
6156bdf to
9e67835
Compare
Single-button touchpads report every physical press as a generic primary button. Use the slowest contact to identify the pressing finger and select the left or right half of the pad. Latch that choice until release so finger drift cannot strand a button state. Preserve the existing captured touchpad gesture and pointer-capture paths while forwarding the resolved Linux button events. Co-authored-by: lfdevs <lfdevs@lfdevs.com>
Register an AAudio error callback for playback and rebuild the output stream when the callback or a write reports a failure. Refresh the negotiated device format and re-announce it to the producer after recovery. Keep recovery scoped to the audio stream so route changes and HAL failures do not tear down or reconnect the display pipeline. Co-authored-by: lfdevs <lfdevs@lfdevs.com>
lfdevs
force-pushed
the
dev/app/backport-upstream-5.20
branch
from
September 2, 2026 12:04
9e67835 to
367aff8
Compare
Drive Android playback through an AAudio data callback backed by a frame-aligned ring buffer, feeding near-silent samples during underruns and rebuilding only the output stream after errors. Add media audio focus handling and a default-off audio keep-alive setting with synchronized localized strings, while retaining idle-stop behavior to limit standby power. Co-authored-by: Goldzxcbug <Zxc20060226@outlook.com> Co-authored-by: lfdevs <lfdevs@lfdevs.com>
lfdevs
force-pushed
the
dev/app/backport-upstream-5.20
branch
2 times, most recently
from
September 3, 2026 06:00
24371d2 to
3099822
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
app: resolve clickpad left/right buttons
Single-button touchpads report every physical press as a generic primary button. Use the slowest contact to identify the pressing finger and select the left or right half of the pad. Latch that choice until release so finger drift cannot strand a button state.
Preserve the existing captured touchpad gesture and pointer-capture paths while forwarding the resolved Linux button events.
This backports upstream SuperTurtleDev/anland@73ef90b
app: recover failed playback streams
Register an AAudio error callback for playback and rebuild the output stream when the callback or a write reports a failure. Refresh the negotiated device format and re-announce it to the producer after recovery.
Keep recovery scoped to the audio stream so route changes and HAL failures do not tear down or reconnect the display pipeline.
This backports upstream SuperTurtleDev/anland@983f77a
app: keep Android playback audio alive
Drive Android playback through an AAudio data callback backed by a frame-aligned ring buffer, feeding near-silent samples during underruns and rebuilding only the output stream after errors. Add media audio focus handling and a default-off audio keep-alive setting with synchronized localized strings, while retaining idle-stop behavior to limit standby power.
This backports upstream SuperTurtleDev/anland@443c6c3 (Part of 修复一些问题,提升用户体验 SuperTurtleDev/anland#57)