Skip to content

Move prefetch vote tracking into IosPrefetchScheduler - #3368

Open
Andrei Salavei (ASalavei) wants to merge 1 commit into
jb-mainfrom
slack-bot/cmp-10587-isprefetchvoteactive
Open

Move prefetch vote tracking into IosPrefetchScheduler#3368
Andrei Salavei (ASalavei) wants to merge 1 commit into
jb-mainfrom
slack-bot/cmp-10587-isprefetchvoteactive

Conversation

@ASalavei

Copy link
Copy Markdown

Move the isPrefetchVoteActive state and its transition-detection logic out of ComposeSceneMediator and into IosPrefetchScheduler, so the scheduler notifies its owner only when the prefetch vote actually The scheduler now notifies only on vote transitions (onPrefetchVoteChanged).
No behavior change.

Fixes https://youtrack.jetbrains.com/issue/CMP-10587/Cleanup-isPrefetchVoteActive

Release Notes

N/A

Move the isPrefetchVoteActive state and its transition-detection logic
out of ComposeSceneMediator and into IosPrefetchScheduler, so the
scheduler notifies its owner only when the prefetch vote actually
changes. Resolves the CMP-10587 cleanup TODO.

CMP-10587
@junie-the-developer
junie-the-developer Bot force-pushed the slack-bot/cmp-10587-isprefetchvoteactive branch from 6e848f0 to c4b9d2e Compare September 1, 2026 12:36
@JetBrains JetBrains (JetBrains) deleted a comment from google-cla Bot Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants