Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Fullscreen feature: Do not invoke callbacks for initial state. #7723

Closed
pocmo opened this issue Jul 15, 2020 · 0 comments
Closed

Fullscreen feature: Do not invoke callbacks for initial state. #7723

pocmo opened this issue Jul 15, 2020 · 0 comments
Assignees
Labels
E2 Estimation points: 2 <session> Component: browser-session
Milestone

Comments

@pocmo
Copy link
Contributor

pocmo commented Jul 15, 2020

Fenix issue: mozilla-mobile/fenix#12424

Since we migrated FullScreenFeature from SessionManager to BrowserStore we now invoke the callbacks with the initial state (e.g. fullScreenChanged(false)) on start. That is a behavior change and caused an issue in Fenix (see above). Since that is unnecessary to do (we only want to do something if we switch to fullscreen mode or back) we should just not do that in the feature.

┆Issue is synchronized with this Jira Task

@pocmo pocmo added the <session> Component: browser-session label Jul 15, 2020
@pocmo pocmo self-assigned this Jul 15, 2020
pocmo added a commit to pocmo/android-components that referenced this issue Jul 15, 2020
bors bot pushed a commit that referenced this issue Jul 16, 2020
7724: Issue #7723: FullScreenFeature: Do not invoke callbacks for initial state. r=rocketsroger a=pocmo



7735: Import strings from android-l10n. r=pocmo a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
@pocmo pocmo added this to the 51.0.0 milestone Jul 16, 2020
@pocmo pocmo closed this as completed Jul 16, 2020
@pocmo pocmo added the E2 Estimation points: 2 label Jul 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
E2 Estimation points: 2 <session> Component: browser-session
Projects
None yet
Development

No branches or pull requests

1 participant