From e7f7c55b30afbe27aa630481a5ea2e5422349d18 Mon Sep 17 00:00:00 2001 From: Edison Jwa Date: Sun, 7 Jun 2026 22:59:54 +0900 Subject: [PATCH] docs(audio): correct iOS producer name in parseBridgeAudioRoute Oracle re-review pass on PR #28 flagged that the doc comment named IOSAudioLifecycleController.classifyDevice, but no such class exists in the repo. The actual iOS classifier is AppDelegate.classifyAudioRoute(_:) in ios/Runner/AppDelegate.swift (line 292), invoked from the route-change and media-services-reset handlers (lines 189, 237). Android side is correct: AndroidAudioLifecycleController.classifyDevice exists at android/app/src/main/kotlin/app/chanora/chanora_flutter/ AndroidAudioLifecycleController.kt. --- apps/chanora_flutter/lib/services/audio_lifecycle_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chanora_flutter/lib/services/audio_lifecycle_service.dart b/apps/chanora_flutter/lib/services/audio_lifecycle_service.dart index 99cf4a2..d6a10f7 100644 --- a/apps/chanora_flutter/lib/services/audio_lifecycle_service.dart +++ b/apps/chanora_flutter/lib/services/audio_lifecycle_service.dart @@ -10,7 +10,7 @@ const androidAudioLifecycleChannelName = 'chanora/android_audio_lifecycle'; /// Parses a platform-channel route string into a [rust.BridgeAudioRoute]. /// /// The producer contract is: -/// - iOS: `IOSAudioLifecycleController.classifyDevice` emits one of +/// - iOS: `AppDelegate.classifyAudioRoute(_:)` emits one of /// `Earpiece`, `Speaker`, `WiredHeadset`, `BluetoothHfp`, `BluetoothA2dp`, /// `Unknown`. /// - Android: `AndroidAudioLifecycleController.classifyDevice` emits one of