Bug 1391355 - add force reload support via keyboard r=JanH
authordavidmurray <dmurray501@yahoo.com>
Sat, 02 Sep 2017 14:20:44 -0700
changeset 427991 3ba65c513e8cc2db39f2c0d6cde27aa26b5b0134
parent 427990 0be1d1ac3bdc9daea2be077ea53139f5ee6b7bd4
child 427992 c44410214970dd92d780b401dade5b2316b90735
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersJanH
bugs1391355
milestone57.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 1391355 - add force reload support via keyboard r=JanH MozReview-Commit-ID: 9s3paEoZueW
mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -538,17 +538,17 @@ public class BrowserApp extends GeckoApp
                     tab.doBack();
                     return true;
 
                 case KeyEvent.KEYCODE_RIGHT_BRACKET:
                     tab.doForward();
                     return true;
 
                 case KeyEvent.KEYCODE_R:
-                    tab.doReload(false);
+                    tab.doReload(event.isShiftPressed() ? true : false);
                     return true;
 
                 case KeyEvent.KEYCODE_PERIOD:
                     tab.doStop();
                     return true;
 
                 case KeyEvent.KEYCODE_T:
                     addTab();