Fixes #427: Browser toolbar does not auto-hide if ANY accessibility on
parent
cbb26cb45f
commit
5dcf4e5a5f
|
@ -80,7 +80,7 @@ class BrowserFragment : Fragment(), BackHandler {
|
||||||
val accessibilityManager = context
|
val accessibilityManager = context
|
||||||
?.getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager
|
?.getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager
|
||||||
|
|
||||||
if (!accessibilityManager.isEnabled) {
|
if (!accessibilityManager.isTouchExplorationEnabled) {
|
||||||
behavior = BrowserToolbarBottomBehavior(view.context, null)
|
behavior = BrowserToolbarBottomBehavior(view.context, null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,6 @@
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
tools:context="browser.BrowserFragment">
|
tools:context="browser.BrowserFragment">
|
||||||
|
|
||||||
<FrameLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent">
|
|
||||||
|
|
||||||
<mozilla.components.concept.engine.EngineView
|
<mozilla.components.concept.engine.EngineView
|
||||||
android:id="@+id/engineView"
|
android:id="@+id/engineView"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -31,7 +27,6 @@
|
||||||
mozac:awesomeBarChipTextColor="#ffffff"
|
mozac:awesomeBarChipTextColor="#ffffff"
|
||||||
mozac:awesomeBarDescriptionTextColor="?attr/awesomeBarDescriptionTextColor"
|
mozac:awesomeBarDescriptionTextColor="?attr/awesomeBarDescriptionTextColor"
|
||||||
mozac:awesomeBarTitleTextColor="?attr/awesomeBarTitleTextColor" />
|
mozac:awesomeBarTitleTextColor="?attr/awesomeBarTitleTextColor" />
|
||||||
</FrameLayout>
|
|
||||||
|
|
||||||
<mozilla.components.feature.findinpage.view.FindInPageBar
|
<mozilla.components.feature.findinpage.view.FindInPageBar
|
||||||
android:id="@+id/findInPageView"
|
android:id="@+id/findInPageView"
|
||||||
|
|
Loading…
Reference in New Issue