mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-24 23:55:52 +03:00
[PR #286] [MERGED] android(fix): parse and send hearing aid data properly #356
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kavishdevar/librepods/pull/286
Author: @kavishdevar
Created: 11/19/2025
Status: ✅ Merged
Merged: 11/22/2025
Merged by: @kavishdevar
Base:
main← Head:android/fix/hearing-aid📝 Commits (1)
26581c8android(fix): parse and send hearing aid data properly📊 Changes
2 files changed (+73 additions, -106 deletions)
View changed files
📝
android/app/src/main/java/me/kavishdevar/librepods/screens/HearingAidAdjustmentsScreen.kt(+10 -31)📝
android/app/src/main/java/me/kavishdevar/librepods/screens/UpdateHearingTestScreen.kt(+63 -75)📄 Description
By copying the transparency customizations code to hearing aid settings, I overwrote the same eq (loss data) for both pods. And, by ATT didn't work, it would use the EQ from AACP, which was actually not linked to the hearing loss data at all.
ai gen'd sumamry:
This pull request refactors how hearing aid settings are managed in both the
HearingAidAdjustmentsScreen.ktandUpdateHearingTestScreen.ktfiles. The main changes involve splitting the equalizer (EQ) state into separate left and right channels, removing unused phone/media EQ code, and improving the way UI state is handled for hearing aid configuration. These updates make the codebase more modular, easier to maintain, and ensure that individual hearing aid parameters are tracked and updated correctly.Hearing Aid EQ State Refactoring
eqstate into separateleftEQandrightEQstates, updating all references to use these new variables for more accurate per-ear adjustments. [1] [2] [3] [4] [5] [6] [7] [8] [9]Removal of Unused and Redundant Code
AACPManager, streamlining the state management and initialization logic. [1] [2] [3] [4] [5] [6]Improved State Management for UI Controls
UI and Theming Enhancements
TextStyleusage for better readability and maintainability.Cleanup of Legacy Hearing Aid Enable Logic
AACPManager, further simplifying the codebase. [1] [2]These changes collectively enhance the modularity and clarity of hearing aid settings management in the app.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.