1
0
Fork 0

Fixes #427: Browser toolbar does not auto-hide if ANY accessibility on

master
Colin Lee 2019-02-10 18:51:30 -06:00 committed by Jeff Boek
parent cbb26cb45f
commit 5dcf4e5a5f
2 changed files with 24 additions and 29 deletions

View File

@ -80,7 +80,7 @@ class BrowserFragment : Fragment(), BackHandler {
val accessibilityManager = context
?.getSystemService(Context.ACCESSIBILITY_SERVICE) as AccessibilityManager
if (!accessibilityManager.isEnabled) {
if (!accessibilityManager.isTouchExplorationEnabled) {
behavior = BrowserToolbarBottomBehavior(view.context, null)
}

View File

@ -11,10 +11,6 @@
android:layout_height="match_parent"
tools:context="browser.BrowserFragment">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<mozilla.components.concept.engine.EngineView
android:id="@+id/engineView"
android:layout_width="match_parent"
@ -31,7 +27,6 @@
mozac:awesomeBarChipTextColor="#ffffff"
mozac:awesomeBarDescriptionTextColor="?attr/awesomeBarDescriptionTextColor"
mozac:awesomeBarTitleTextColor="?attr/awesomeBarTitleTextColor" />
</FrameLayout>
<mozilla.components.feature.findinpage.view.FindInPageBar
android:id="@+id/findInPageView"