mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
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:
1 parent
fde8b2a64f
commit
7e570a79ad
4 files changed
+43
-6
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user