Merge upstream/dev: Android Auto as opt-in flavor, decluttered map overlay
build / build (push) Failing after 3m2s

Conflicts: the manifest keeps our unread widget receiver and drops the
Android Auto meta-data, which upstream moved to the androidAuto source set
(fe7e72a). Rename detection had moved our unread_widget_info.xml into that
source set with it; it stays in main. _mapChip is gone upstream with the
map overlay declutter (ed5884e), so our terminal-theme restyle of it goes
too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-10-25 19:00:11 +01:00
commit 9489dee1c3
114 files changed
+11506 -1027

No files matched your search

+22
View File
@@ -12,6 +12,7 @@ import 'screens/chrome_required_screen.dart';
import 'utils/platform_info.dart';
import 'connector/meshcore_connector.dart';
import 'helpers/message_url_image_helper.dart';
import 'models/image_codec_support.dart';
import 'screens/scanner_screen.dart';
import 'services/image_chunk_transport.dart';
@@ -139,6 +140,18 @@ void main() async {
// Initialize notification service
final notificationService = NotificationService();
notificationService.setPublicIpfsGateway(
appSettingsService.settings.publicIpfsGateway,
);
MessageUrlImageHelper.loadLinkImages.value =
appSettingsService.settings.loadLinkImages;
appSettingsService.addListener(() {
notificationService.setPublicIpfsGateway(
appSettingsService.settings.publicIpfsGateway,
);
MessageUrlImageHelper.loadLinkImages.value =
appSettingsService.settings.loadLinkImages;
});
await notificationService.initialize();
await backgroundService.initialize();
backgroundService.setLanguageOverrideProvider(
@@ -413,6 +426,15 @@ class _MeshCoreAppState extends State<MeshCoreApp> with WidgetsBindingObserver {
state == AppLifecycleState.hidden) {
unawaited(widget.imageCodecService.handleMemoryPressure());
}
// Batched message/contact writes must land before the OS can suspend or
// kill a backgrounded app.
if (state == AppLifecycleState.inactive ||
state == AppLifecycleState.paused ||
state == AppLifecycleState.hidden ||
state == AppLifecycleState.detached) {
unawaited(widget.connector.flushPendingWrites());
unawaited(widget.pathHistoryService.flushPendingWrites());
}
if (state == AppLifecycleState.resumed) {
widget.connector.syncAppBadge();
}