gecko-dev/mobile/android/app
Jan Henning 29713de206 Bug 1335148 - Part 1: Dynamically determine content viewer count on Android, too. r=bz,snorp
The current limit of at most one bfcache entry on Android dates back to when
Fennec was built for the Nokia N810, which had a whopping 128 MB of memory.
Since a few years have passed since then and mobile device technology has
evolved considerably, it should be safe now to allow a little more than that.

Since web sites sizes might have grown somewhat as well compared to the figure
of 4MB mentioned in CalcMaxTotalViweres(), though and to be absolutely on the
safe side, we still tweak the formula when building for Android, though.

If in the worst case even those assumptions turn out too generous, we will still
be protected by the fact that
- we temporarily disable the bfcache when the OS signals memory pressure, and
- our contentViewerTimeout is set to a lower value than on Desktop, so bfcache
  entries will expire sooner

MozReview-Commit-ID: 1A6d0Q6Mdx0

--HG--
extra : rebase_source : 9cc1f7abb1aef82ffc4d7987773ae7cf35440884
2018-03-29 21:51:13 +02:00
..
omnijar
src Bug 1457255 - 2. Fix Java warnings; r=me 2018-05-01 00:22:54 -04:00
build.gradle Backed out 3 changesets (Bug 1433968) for causing Bug 1459349. a=backout 2018-05-07 17:06:30 +03:00
checkstyle.xml
findbugs-exclude.xml Bug 1358338 - findbugs: Ignore generated R.*/Manifest* r=sebastian 2017-04-20 19:46:15 -07:00
geckoview-prefs.js Bug 1452551 - Initialize the Telemetry core in GeckoView. r=esawin,gfritzsche,jchen 2018-04-11 13:11:27 +02:00
lint.xml Backed out 3 changesets (Bug 1433968) for causing Bug 1459349. a=backout 2018-05-07 17:06:30 +03:00
mobile.ico
mobile.js Bug 1335148 - Part 1: Dynamically determine content viewer count on Android, too. r=bz,snorp 2018-03-29 21:51:13 +02:00
moz.build Bug 1436887 - [1.1] Add GeckoView prefs file. r=snorp,jchen 2018-02-14 19:52:20 +01:00
ua-update.json.in Bug 1385206 - Documents the syntax for this file; r=miketaylr 2017-07-31 06:53:39 +09:00