[tbb-commits] [tor-browser/tor-browser-52.7.2esr-8.0-1] Orfox: quit button added, functionality changed to bring it up to date with current GeckoApp.java class, earlier version seemed to have problems with quitting

gk at torproject.org gk at torproject.org
Tue Mar 20 11:26:34 UTC 2018


commit 25f95adb4015299cee5c6c8a14c3f3c849e7ad22
Author: Amogh Pradeep <amoghbl1 at gmail.com>
Date:   Fri Jul 17 17:01:09 2015 -0400

    Orfox: quit button added, functionality changed to bring it up to date with current GeckoApp.java class, earlier version seemed to have problems with quitting
    
    Signed-off-by: Amogh Pradeep <amoghbl1 at gmail.com>
---
 mobile/android/base/java/org/mozilla/gecko/BrowserApp.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
index 5eddca3cf726..9023618669ef 100644
--- a/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
+++ b/mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
@@ -3428,7 +3428,7 @@ public class BrowserApp extends GeckoApp
                                 !PrefUtils.getStringSet(GeckoSharedPrefs.forProfile(this),
                                                         ClearOnShutdownPref.PREF,
                                                         new HashSet<String>()).isEmpty();
-        aMenu.findItem(R.id.quit).setVisible(visible);
+        aMenu.findItem(R.id.quit).setVisible(true);
 
         // If tab data is unavailable we disable most of the context menu and related items and
         // return early.





More information about the tbb-commits mailing list