Bug 1250924 - Disable displayport expiry on B2G because it causes the screen to go back while adjusting volume. r=gerard-majax
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 03 Mar 2016 08:31:33 -0500
changeset 325036 702b8da8e312f8a56ee5818b17bc18354dfce5d7
parent 325035 750b61b5d681dacc485e53201612b717b95a6d07
child 325037 310ca84e24faff0c25188c65b35c67bb255a69ab
push id1128
push userjlund@mozilla.com
push dateWed, 01 Jun 2016 01:31:59 +0000
treeherdermozilla-release@fe0d30de989d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgerard-majax
bugs1250924
milestone47.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 1250924 - Disable displayport expiry on B2G because it causes the screen to go back while adjusting volume. r=gerard-majax MozReview-Commit-ID: 3qXrgL2oQWS
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -1020,16 +1020,17 @@ pref("apz.axis_lock.mode", 2); // Use "s
 pref("apz.fling_curve_function_x1", "0.41");
 pref("apz.fling_curve_function_y1", "0.0");
 pref("apz.fling_curve_function_x2", "0.80");
 pref("apz.fling_curve_function_y2", "1.0");
 pref("apz.fling_curve_threshold_inches_per_ms", "0.01");
 pref("apz.fling_friction", "0.0019");
 pref("apz.max_velocity_inches_per_ms", "0.07");
 pref("apz.overscroll.enabled", true);
+pref("apz.displayport_expiry_ms", 0); // causes issues on B2G, see bug 1250924
 
 // For event-regions based hit-testing
 pref("layout.event-regions.enabled", true);
 
 // This preference allows FirefoxOS apps (and content, I think) to force
 // the use of software (instead of hardware accelerated) 2D canvases by
 // creating a context like this:
 //