feat(eq): android auto custom equalizer and robust device detection
- MainActivity: onListen re-emits the current active device and registers the audio device callback idempotently, so recreated activities resync instead of freezing the active-device id on a disconnected device. - servicio_dispositivo_audio: resubscribir() re-opens the event channel; estado_ecualizador exposes refrescarDispositivoActual() with an in-flight guard, invoked on app resume and when opening advanced EQ options, clearing stale green-dot device selections. - navegacion_auto/servicio_audio: new 'Personalizado' browse tree in Android Auto (5 band folders, 13 gain steps each) applied live via setBanda; preset and gain taps persist at device level when multi-device EQ is active and respect station/matrix overrides, with apply-before-persist ordering and children-changed notifications. - l10n: regenerate stale generated localizations; add rxdart as direct dependency for the subscribeToChildren override.
This commit is contained in:
@@ -63,22 +63,22 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
Object minutes,
|
||||
Object seconds,
|
||||
) {
|
||||
return '$hours ? $minutes ??? $seconds ?';
|
||||
return '$hours ч $minutes мин $seconds сек';
|
||||
}
|
||||
|
||||
@override
|
||||
String durationMinutesSeconds(Object minutes, Object seconds) {
|
||||
return '$minutes ??? $seconds ?';
|
||||
return '$minutes мин $seconds сек';
|
||||
}
|
||||
|
||||
@override
|
||||
String durationMinutesOnly(Object minutes) {
|
||||
return '$minutes ???';
|
||||
return '$minutes мин';
|
||||
}
|
||||
|
||||
@override
|
||||
String durationSecondsOnly(Object seconds) {
|
||||
return '$seconds ?';
|
||||
return '$seconds сек';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -1311,4 +1311,34 @@ class AppLocalizationsRu extends AppLocalizations {
|
||||
|
||||
@override
|
||||
String get eqDeviceConnected => 'Подключено';
|
||||
|
||||
@override
|
||||
String get localMusicSectionTitle => 'Локальная музыка (Android Auto)';
|
||||
|
||||
@override
|
||||
String get localMusicSectionDescription =>
|
||||
'Выберите папку на этом устройстве, чтобы просматривать и воспроизводить её аудиофайлы в автомобиле.';
|
||||
|
||||
@override
|
||||
String get localMusicFolderNotConfigured => 'Папка не выбрана';
|
||||
|
||||
@override
|
||||
String get localMusicFolderTitle => 'Папка локальной музыки';
|
||||
|
||||
@override
|
||||
String get localMusicChoosePath => 'Выбрать папку';
|
||||
|
||||
@override
|
||||
String get localMusicChangePath => 'Изменить папку';
|
||||
|
||||
@override
|
||||
String get localMusicFolderUpdated => 'Папка локальной музыки обновлена';
|
||||
|
||||
@override
|
||||
String localMusicFolderSaveError(Object error) {
|
||||
return 'Не удалось сохранить папку: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get localMusicFolderGenericName => 'Выбранная папка';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user