Bug 1250924 - Disable displayport expiry on B2G because it causes the screen to go back while adjusting volume. r?gerard-majax draft
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 03 Mar 2016 08:31:33 -0500
changeset 336499 27121570612b4059e70049594c8b05e53c38e8c0
parent 336498 2b5237c178ea02133a777396c24dd2b713f2b8ee
child 515419 6a791a89f0dccb488ec3c2afb6b94eb5b6faec0f
push id12091
push userkgupta@mozilla.com
push dateThu, 03 Mar 2016 13:32:14 +0000
reviewersgerard-majax
bugs1250924
milestone47.0a1
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:
 //