Commit graph

17 commits

Author SHA1 Message Date
FBukovina
d139742660 fix: stabilize Bluetooth polling and dedupe lid-cycle lock chimes
BluetoothAudioManager
- Replace Timer.scheduledTimer polling with DispatchSourceTimer on a
  utility queue so main-thread back-pressure no longer stalls the 3s
  connect-detection cadence.
- Distinguish "host controller unavailable" from "powered off" via a
  new bluetoothIsPoweredOn() helper, so transient IOBluetooth registry
  blips at launch no longer clear connectedDevices.
- Re-read device metadata (name, type, battery) at +500ms and +2s after
  IOBluetoothDeviceConnectedNotification to catch IORegistry's
  late-population window; the existing HUD wait-task then updates the
  shown battery in place.
- Declare BluetoothAudioDeviceType: Equatable to support the
  change-detection diff in the re-read pass.

LockSoundPlayer
- Add a 1.2s cross-type cooldown so a rapid lid close->open no longer
  plays lock-then-unlock chimes as a doubled sound (the per-type
  throttle never covered this case).
- Bump per-type throttle 0.25s -> 0.6s.
- Reset throttle state when enableLockSounds is toggled back on, so the
  first chime after re-enable is never suppressed by a stale timestamp.

StatsManager
- Shorten notchCloseStopDelay 3.0s -> 1.0s so the monitoring timer is
  invalidated sooner after the user closes the notch, freeing the
  main-thread tick budget for animation work.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 21:33:41 +02:00
Jis G Jacob
3829627dbd Atoll: clear lock screen widgets faster on unlock
- Add session-active and CGSession poll fallbacks for unlock detection
- Force weather panel alpha to 0 before orderOut for instant hide

Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-05-18 09:51:50 +05:30
Jis G Jacob
5bd84270aa Atoll: fullscreen album artwork as lockscreen wallpaper
Right-click on the album art in the lock screen music panel to set it
as the desktop wallpaper. Right-click again or click anywhere on the
background to restore the original wallpaper. Wallpaper also restores
automatically on track change or screen unlock.

Uses direct plist manipulation of the wallpaper config to avoid leaving
traces in the wallpaper picker. Album art PNG is pre-cached in the
background on track change for instant application.

Adds video artwork URL fetching from iTunes catalog for Apple Music
tracks (musicVideo entity search).

Signed-off-by: Jis G Jacob <studiokeys@blissroms.org>
2026-04-29 18:39:17 +02:00
delli
ffd72456d9 other small improvements 2026-04-22 17:25:14 +02:00
Hariharan Mudaliar
5910bd0362
Update copyright headers 2026-01-29 12:26:04 +05:30
Hariharan Mudaliar
bb183a701d
BugFix: Display Lock and Unlock Lag 2026-01-09 12:32:00 +05:30
Hariharan Mudaliar
b8f403d537 Finally fixed: added explicit cancellation checks, need to verify by independent testers 2025-12-07 23:54:10 +05:30
Hariharan Mudaliar
bc25ec8526 Update: Onboarding 2025-11-30 12:55:23 +05:30
Hariharan Mudaliar
8be0c6540f Update Timer Lock Screen Widget 2025-11-27 14:05:05 +05:30
Hariharan Mudaliar
149a022765 Add Lock/Unlock sounds 2025-11-26 23:48:32 +05:30
Hariharan Mudaliar
436d5a4e96 Create Lock Screen Reminder Widget 2025-11-11 01:32:11 +05:30
Hariharan Mudaliar
4ab062213d Fix Unlock delay 2025-11-07 01:24:11 +05:30
Hariharan Mudaliar
71e6be4218 Working Animation Lock Screen 2025-10-23 01:25:51 +05:30
Hariharan Mudaliar
7ae8f0bc7c Working Weather widget 2025-10-19 22:55:59 +05:30
Hariharan Mudaliar
d0448ec2cb Make some changes: fixes and stuff 2025-10-17 19:59:40 +05:30
Hariharan Mudaliar
ce8cce0252 Working Lock Screen HUD 2025-10-17 18:13:36 +05:30
Hariharan Mudaliar
44b18513f2 Working lock screen widget 2025-10-17 17:26:46 +05:30