The specific code of interest is in the PlatformPlugin on Android where a callback is set on View.OnSystemUiVisibilityChangeListener to propagate the values from the view to Dart through systemChromeChanged. The signature of systemChromeChanged is
public void systemChromeChanged(boolean overlaysAreVisible);
where overlaysAreVisible is propagated back to Dart when the setSystemUIChangeCallback is set.
It seems like false is passed when the "system bars are visible" according to the comment, and vice-versa, where it should be the other way round according to signature of systemChromeChanged.
Please close this issue if I misunderstood :)
cc @Piinks
The specific code of interest is in the
PlatformPluginon Android where a callback is set onView.OnSystemUiVisibilityChangeListenerto propagate the values from the view to Dart throughsystemChromeChanged. The signature ofsystemChromeChangediswhere
overlaysAreVisibleis propagated back to Dart when thesetSystemUIChangeCallbackis set.It seems like
falseis passed when the "system bars are visible" according to the comment, and vice-versa, where it should be the other way round according to signature ofsystemChromeChanged.Please close this issue if I misunderstood :)
cc @Piinks