mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
The brightness HUD broke on Tahoe because Apple deprecated/changed the DisplayServices private framework and stopped posting the BezelEngine distributed notifications that Atoll relied on for change detection. This commit: - Adds CoreBrightnessDisplayClient using Apple's CoreBrightness framework (mirrors the existing KeyboardBrightnessClient pattern) as the primary brightness read/write path - Falls back gracefully to DisplayServices then IODisplay if CoreBrightness is unavailable - Adds a lightweight polling fallback (150ms) so the HUD fires even when no distributed notifications are posted (Control Center, Touch Bar, auto- brightness changes) - Registers the new com.apple.CoreBrightness.DisplayBrightnessChanged notification - Fixes deprecated kIOMasterPortDefault → kIOMainPortDefault in SystemDisplayManager.swift Fixes #452 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| animations | ||
| Assets.xcassets | ||
| audio | ||
| BluetoothHUDAnimations | ||
| components | ||
| enums | ||
| extensions | ||
| helpers | ||
| managers | ||
| MediaControllers | ||
| menu | ||
| metal | ||
| models | ||
| observers | ||
| Preview Content/Preview Assets.xcassets | ||
| private | ||
| Providers | ||
| services/Extensions | ||
| Shortcuts | ||
| sizing | ||
| strings | ||
| utils | ||
| audio-feedback.m4a | ||
| ContentView.swift | ||
| dynamic.m4a | ||
| DynamicIsland-Bridging-Header.h | ||
| DynamicIsland.entitlements | ||
| DynamicIslandApp.swift | ||
| DynamicIslandViewCoordinator.swift | ||
| Info.plist | ||
| Localizable.xcstrings | ||
| lock.mp3 | ||
| lowbattery.mp3 | ||
| timer.mp3 | ||
| unlock.mp3 | ||