Skip to content
This repository has been archived by the owner. It is now read-only.

AB2-772 Merging Fennec 65.0 #611

Merged
merged 14 commits into from Feb 1, 2019

AB-772-1 BrowserApp.java fixes

  • Loading branch information
spacifici committed Feb 1, 2019
commit d9fd7c947761285a4a0507053c5a53c6e366bc0b
@@ -191,12 +191,8 @@
import org.mozilla.gecko.widget.AnimatedProgressBar;
import org.mozilla.gecko.widget.GeckoActionProvider;
import org.mozilla.gecko.widget.SplashScreen;
<<<<<<< .merge_file_nOb4wg
import org.mozilla.gecko.widget.themed.ThemedTabLayout;
||||||| .merge_file_9qIebg
=======
import org.mozilla.geckoview.DynamicToolbarAnimator;
>>>>>>> .merge_file_USwxqg
import org.mozilla.geckoview.GeckoSession;

import java.io.File;
@@ -3559,27 +3555,10 @@ public boolean onPrepareOptionsMenu(Menu aMenu) {
// (We check the pref last to save the pref read.)
// In ICS+, it's easy to kill an app through the task switcher.
final SharedPreferences prefs = GeckoSharedPrefs.forProfile(this);
<<<<<<< .merge_file_nOb4wg
/* Cliqz Start */
//Always show the quit button
aMenu.findItem(R.id.quit).setVisible(true);
/* Cliqz End */
||||||| .merge_file_9qIebg
final boolean visible = HardwareUtils.isTelevision() ||
prefs.getBoolean(GeckoPreferences.PREFS_SHOW_QUIT_MENU, false) ||
!PrefUtils.getStringSet(prefs,
ClearOnShutdownPref.PREF,
new HashSet<String>()).isEmpty();
aMenu.findItem(R.id.quit).setVisible(visible);
=======
final boolean visible = HardwareUtils.isTelevision() ||
mDumpProfileOnShutdown ||
prefs.getBoolean(GeckoPreferences.PREFS_SHOW_QUIT_MENU, false) ||
!PrefUtils.getStringSet(prefs,
ClearOnShutdownPref.PREF,
new HashSet<String>()).isEmpty();
aMenu.findItem(R.id.quit).setVisible(visible);
>>>>>>> .merge_file_USwxqg

// If tab data is unavailable we disable most of the context menu and related items and
// return early.
ProTip! Use n and p to navigate between commits in a pull request.