fix(gnss): expire stale cells on re-enable; pin the unpruned return-after-window path

Re-enabling after a disable longer than the window no longer shows the
old cells until the next refresh. A healthy report arriving 31 minutes
after a degraded one, with no prune in between, starts clean; exactly
30 minutes still counts.
This commit is contained in:
Leo Pechnicki authored and Mazeyar Moeini Feizabadi committed 2026-10-13 17:20:43 +02:00
1 parent fde8b2a64f
commit 7e570a79ad
4 files changed
+43 -6

No files matched your search

+5 -1
View File
@@ -122,7 +122,11 @@ export function createGnssIntegrityLayer({
enable() {
_enabled = true;
if (_dataSource) _dataSource.show = true;
// Cells left from before a long disable must not reappear past the window.
if (_dataSource) {
expire();
_dataSource.show = true;
}
},
disable() {