Bug 1336084 - fix indentation after bug 1120441 r?ahunt draft
authorJulien Cristau <jcristau@mozilla.com>
Thu, 02 Feb 2017 14:24:54 +0100
changeset 469574 6467514ca02b2a79d764b6fca04b1f01d0cd6ccb
parent 469330 f985243bb630b2c78cd57731c8d8ab191aa09527
child 544248 e5bf32a85ce0cb3fdc739566c074bf8956557f71
push id43779
push userjcristau@mozilla.com
push dateThu, 02 Feb 2017 13:44:48 +0000
reviewersahunt
bugs1336084, 1120441
milestone54.0a1
Bug 1336084 - fix indentation after bug 1120441 r?ahunt MozReview-Commit-ID: IsN11wdccin
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
@@ -662,18 +662,19 @@ public class BrowserApp extends GeckoApp
                             // shut down (in which case trying to perform UI changes, such as showing
                             // fragments below, will crash).
                             return;
                         }
 
                         final TabHistoryFragment fragment = TabHistoryFragment.newInstance(historyPageList, toIndex);
                         final FragmentManager fragmentManager = getSupportFragmentManager();
                         GeckoAppShell.vibrateOnHapticFeedbackEnabled(getResources().getIntArray(R.array.long_press_vibrate_msec));
-                        if (BrowserApp.this.isForegrounded())
-                        fragment.show(R.id.tab_history_panel, fragmentManager.beginTransaction(), TAB_HISTORY_FRAGMENT_TAG);
+                        if (BrowserApp.this.isForegrounded()) {
+                            fragment.show(R.id.tab_history_panel, fragmentManager.beginTransaction(), TAB_HISTORY_FRAGMENT_TAG);
+                        }
                     }
                 });
             }
         });
         mBrowserToolbar.setTabHistoryController(tabHistoryController);
 
         final String action = intent.getAction();
         if (Intent.ACTION_VIEW.equals(action)) {