gecko-dev/mobile/android
Jan Henning c2c425bc88 Bug 1320550 - Part 2 - Clear closed tabs when max_tabs_undo is set to 0. r=sebastian
Currently, we stop updating closed tabs if max_tabs_undo is set to 0, however we don't clear that data and carry it around indefinitely unless the user clears the browser history.

This means that when closing a tab, we still show the "Undo close tab" snackbar, however with its contents referring to the last tab the user closed before setting browser.sessionstore.max_tabs_undo to 0.

With this patch, we clear all closed tabs (and don't reload them from disc on startup) if max_tabs_undo is 0, which also stops the snackbar from showing after closing a tab.

MozReview-Commit-ID: PEtminpW4B

--HG--
extra : rebase_source : 7c8039db1d1d7c5bc127cdc11fbc0a1387694ef9
2016-11-27 16:59:53 +01:00
..
app Bug 1320035 - Add gradle configuration for running findbugs. r=maliu 2016-11-24 11:13:54 +01:00
base Bug 1316006 - Change implicit toString() to Arrays.toString(); r=sebastian 2016-11-25 16:50:49 +05:30
bouncer Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
branding Bug 1312421 - Rename of the aurora version in the app launcher r=sebastian 2016-10-24 16:12:40 +02:00
build/classycle
chrome Bug 1320550 - Part 1 - Only try showing the "Undo close tab" snackbar if we actually have some closed tab data. r=sebastian 2016-11-27 16:44:38 +01:00
components Bug 1320550 - Part 2 - Clear closed tabs when max_tabs_undo is set to 0. r=sebastian 2016-11-27 16:59:53 +01:00
config merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
docs Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop 2016-10-08 11:14:49 +02:00
extensions Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
fonts Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
geckoview Bug 1240560 - After shortcut is created, show the mobile desktop. r=sebastian 2016-11-24 10:57:19 +08:00
geckoview_example Bug 1291372 - Produce Maven repository with GeckoView Javadoc and Sources JARs. r=snorp 2016-11-07 20:07:30 -08:00
gradle Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
installer Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
javaaddons Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
locales Bug 1303993 - Display "Save Media" for long tapping unloaded video, r=sebastian 2016-11-15 14:53:28 +08:00
modules Bug 1317604 - 1. Add EventDispatcher to Messaging.jsm; r=snorp r=sebastian 2016-11-21 10:01:30 -05:00
search Bug 1319302 - RTL support for Firefox for Android, r=sebastian 2016-11-11 16:10:21 +08:00
services Bug 1315980 - Changed ExtendedJSONObject to implement Cloneable and the clone() method to throw CloneNotSupportedException. Changed inner class in ResizablePathDrawable to implement Cloneable. r=sebastian 2016-11-17 10:37:41 -05:00
stumbler Bug 1292468 - Incorrect string comparison r=sebastian 2016-08-05 10:45:10 +02:00
tests Bug 1318222 - Updated the unit test,added more test r=sebastian 2016-11-17 16:29:23 +08:00
themes/core Bug 418833 - Get rid of some padding rules for checkbox and radio on Fennec that were never being applied. r=snorp 2016-11-18 13:28:49 -05:00
thirdparty Bug 1291363 - Add geckoview and geckoview_example Gradle projects. r=jchen,sebastian 2016-10-05 20:23:38 -07:00
.eslintrc
app.mozbuild
build.mk Bug 1293295 - Replace all mochitest 'flavor' options with a single --flavor argument, r=jmaher 2016-08-08 11:48:49 -04:00
confvars.sh Bug 1266792 - Enable MOZ_RUST_MP4PARSE on fennec. r=snorp 2016-10-27 12:19:03 -07:00
debug_sign_tool.py
gradle.configure Bug 1314894 - Avoid path changes from b6be0e9e3e1e. r=chmanchester 2016-11-04 06:50:43 +09:00
LICENSE
mach_commands.py Bug 1294878 - Support 'mach android-emulator --version 6.0'; r=jmaher 2016-08-23 09:02:35 -06:00
Makefile.in
moz.build Bug 1268944 - Remove GeckoView packaging. r=chmanchester 2016-07-25 11:54:03 -07:00
moz.configure Bug 1267884 - Upgrade support libraries to 23.4 r=sebastian 2016-09-30 09:16:23 -07:00