mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-25 16:15:52 +03:00
[PR #176] [MERGED] Add option for alternate head tracking packets #313
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#313
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/176
Author: @Copilot
Created: 7/11/2025
Status: ✅ Merged
Merged: 7/11/2025
Merged by: @kavishdevar
Base:
main← Head:copilot/fix-6693cfd6-976f-4092-9727-fc8ac8c4dc52📝 Commits (2)
e274b9eInitial plan1ed7accAdd option for alternate head tracking packets📊 Changes
3 files changed (+74 additions, -3 deletions)
View changed files
📝
android/app/src/main/java/me/kavishdevar/librepods/screens/AppSettingsScreen.kt(+45 -0)📝
android/app/src/main/java/me/kavishdevar/librepods/services/AirPodsService.kt(+13 -3)📝
android/app/src/main/java/me/kavishdevar/librepods/utils/AACPManager.kt(+16 -0)📄 Description
This PR adds a new customization option to enable alternate head tracking packets for users experiencing issues with the default head tracking implementation.
Changes Made
New Setting
use_alternate_head_tracking_packets(boolean, default: false)Implementation Details
AACPManager.kt:
createAlternateStartHeadTrackingPacket()methodcreateAlternateStopHeadTrackingPacket()method040004001700000010000F000873420B081010021A0501409C0000040004001700000010000F000875420B081010021A050100000000AirPodsService.kt:
startHeadTracking()andstopHeadTracking()to check the preference settingAppSettingsScreen.kt:
Technical Notes
Testing
The implementation has been verified to:
This addresses cases where users may experience head tracking issues with the default packet format by providing an alternative implementation.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.