[PR #253] [MERGED] android(fix): do not require phone's MAC for service start #348

Closed
opened 2026-03-02 12:40:47 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kavishdevar/librepods/pull/253
Author: @kavishdevar
Created: 11/16/2025
Status: Merged
Merged: 11/19/2025
Merged by: @kavishdevar

Base: mainHead: android/no-root


📝 Commits (6)

  • 3b427bf android(fix): add missing HEAD_GESTURES capability on app2
  • c956bc1 android(fix): catch att initial read exceptions in toggle
  • ce999d3 android(refactor): remove navcontroller from head gestures screen
  • 8ccfa1d android(fix): do not crash when connected devices list is sent empty
  • 6fcefd7 android(fix): do not crash if phone's MAC not available
  • 06abc63 android: skip sdp hook check if setup skipped

📊 Changes

7 files changed (+110 additions, -61 deletions)

View changed files

📝 android/app/src/main/java/me/kavishdevar/librepods/MainActivity.kt (+1 -1)
📝 android/app/src/main/java/me/kavishdevar/librepods/composables/StyledToggle.kt (+6 -1)
📝 android/app/src/main/java/me/kavishdevar/librepods/screens/HeadTrackingScreen.kt (+5 -3)
📝 android/app/src/main/java/me/kavishdevar/librepods/services/AirPodsService.kt (+84 -50)
📝 android/app/src/main/java/me/kavishdevar/librepods/utils/AACPManager.kt (+3 -2)
📝 android/app/src/main/java/me/kavishdevar/librepods/utils/AirPods.kt (+5 -3)
📝 android/app/src/main/java/me/kavishdevar/librepods/utils/RadareOffsetFinder.kt (+6 -1)

📄 Description

Fixes crash when running on non-rooted devices.

apk: https://github.com/kavishdevar/librepods/actions/runs/19412004970


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kavishdevar/librepods/pull/253 **Author:** [@kavishdevar](https://github.com/kavishdevar) **Created:** 11/16/2025 **Status:** ✅ Merged **Merged:** 11/19/2025 **Merged by:** [@kavishdevar](https://github.com/kavishdevar) **Base:** `main` ← **Head:** `android/no-root` --- ### 📝 Commits (6) - [`3b427bf`](https://github.com/kavishdevar/librepods/commit/3b427bfa65152918144beb7d18185d7f50b626c9) android(fix): add missing HEAD_GESTURES capability on app2 - [`c956bc1`](https://github.com/kavishdevar/librepods/commit/c956bc1f9a09977f96ca669c728f5a7167b2c24a) android(fix): catch att initial read exceptions in toggle - [`ce999d3`](https://github.com/kavishdevar/librepods/commit/ce999d34c3b69d327e5ef12956de9d48f8b43e90) android(refactor): remove navcontroller from head gestures screen - [`8ccfa1d`](https://github.com/kavishdevar/librepods/commit/8ccfa1d51ecd049354c60341042ad01b53232fa3) android(fix): do not crash when connected devices list is sent empty - [`6fcefd7`](https://github.com/kavishdevar/librepods/commit/6fcefd76b20b2ce6009f8161be615da8a4daf2d2) android(fix): do not crash if phone's MAC not available - [`06abc63`](https://github.com/kavishdevar/librepods/commit/06abc63dd4567ab0ba01638da120b907fce37ada) android: skip sdp hook check if setup skipped ### 📊 Changes **7 files changed** (+110 additions, -61 deletions) <details> <summary>View changed files</summary> 📝 `android/app/src/main/java/me/kavishdevar/librepods/MainActivity.kt` (+1 -1) 📝 `android/app/src/main/java/me/kavishdevar/librepods/composables/StyledToggle.kt` (+6 -1) 📝 `android/app/src/main/java/me/kavishdevar/librepods/screens/HeadTrackingScreen.kt` (+5 -3) 📝 `android/app/src/main/java/me/kavishdevar/librepods/services/AirPodsService.kt` (+84 -50) 📝 `android/app/src/main/java/me/kavishdevar/librepods/utils/AACPManager.kt` (+3 -2) 📝 `android/app/src/main/java/me/kavishdevar/librepods/utils/AirPods.kt` (+5 -3) 📝 `android/app/src/main/java/me/kavishdevar/librepods/utils/RadareOffsetFinder.kt` (+6 -1) </details> ### 📄 Description Fixes crash when running on non-rooted devices. apk: https://github.com/kavishdevar/librepods/actions/runs/19412004970 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:40:47 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librepods#348
No description provided.