Bug 1459293 - Enable new Android fling physics on the Nightly channel. r=kats draft
authorBotond Ballo <botond@mozilla.com>
Fri, 04 May 2018 14:55:49 -0400
changeset 791659 fd6651292f1a7bcc4fd4b23c4993d924d57e4914
parent 791511 d07a4da682a2f8a2df811d8f0734a5a632213c9b
push id108856
push userbballo@mozilla.com
push dateFri, 04 May 2018 18:59:31 +0000
reviewerskats
bugs1459293
milestone61.0a1
Bug 1459293 - Enable new Android fling physics on the Nightly channel. r=kats MozReview-Commit-ID: EHwhzClIICz
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -627,17 +627,21 @@ pref("layers.geometry.basic.enabled", tr
 // Whether to enable arbitrary layer geometry for DirectX compositor
 pref("layers.geometry.d3d11.enabled", true);
 
 // APZ preferences. For documentation/details on what these prefs do, check
 // gfx/layers/apz/src/AsyncPanZoomController.cpp.
 pref("apz.allow_checkerboarding", true);
 pref("apz.allow_immediate_handoff", true);
 pref("apz.allow_zooming", false);
+#ifdef NIGHTLY_BUILD
+pref("apz.android.chrome_fling_physics.enabled", true);
+#else
 pref("apz.android.chrome_fling_physics.enabled", false);
+#endif
 pref("apz.android.chrome_fling_physics.friction", "0.015");
 pref("apz.android.chrome_fling_physics.inflexion", "0.35");
 pref("apz.android.chrome_fling_physics.stop_threshold", "0.1");
 pref("apz.autoscroll.enabled", true);
 
 // Whether to lock touch scrolling to one axis at a time
 // 0 = FREE (No locking at all)
 // 1 = STANDARD (Once locked, remain locked until scrolling ends)