Bug 1544517 - On GeckoView default to treating mouse inputs as mouse. r=snorp
authorKartikaya Gupta <kgupta@mozilla.com>
Wed, 01 May 2019 14:53:01 +0000
changeset 530936 8eb5f9677c92d74b0dfdf2193c8c1c3c6e8208ce
parent 530935 7187fa20af85cdba63c2c7ea2925df74faadf549
child 530937 ad1c4dfe793c9ac49b511eb02cc3626e712677b6
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1544517
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1544517 - On GeckoView default to treating mouse inputs as mouse. r=snorp Differential Revision: https://phabricator.services.mozilla.com/D29484
mobile/android/app/geckoview-prefs.js
--- a/mobile/android/app/geckoview-prefs.js
+++ b/mobile/android/app/geckoview-prefs.js
@@ -45,8 +45,11 @@ pref("browser.safebrowsing.features.malw
 // Enable Tracking Protection blocklist updates
 pref("browser.safebrowsing.features.trackingAnnotation.update", true);
 pref("browser.safebrowsing.features.trackingProtection.update", true);
 
 // Enable cryptomining protection blocklist updates
 pref("browser.safebrowsing.features.cryptomining.update", true);
 // Enable fingerprinting protection blocklist updates
 pref("browser.safebrowsing.features.fingerprinting.update", true);
+
+// Treat mouse as touch only on TV-ish devices
+pref("ui.android.mouse_as_touch", 2);