gecko-dev/mobile/android
Nick Alexander 4337afe919 Bug 964854 - Cache account bundles to work around getUserData cache issues. r=rnewman
These patches are intended to work around theorized issues with the
Android caching of per-Account user data.  They include diagnostic
logging to help understand the state of data on disk, small changes to
the read/write sequence, and a dramatic reduction of getUserData
calls (by maintaining an in-memory cache).

========

dcd54869d1
Author: Nick Alexander <nalexander@mozilla.com>
    Bug 964854 - Part 2: Maintain write-through memory cache of Firefox Account bundles.

    This should avoid reads from the Android Account user data store, which
    we theorize is buggy.  It trades those reads for the complexity of
    maintaining and invalidating an in-memory cache, which has the potential
    to avoid races and cache corruption.

    There is no reliable way to determine if an Account has been
    removed (and subsequently re-added), so we clear the cache entirely when
    any Firefox Account is added.  We do this at the authenticator level,
    which should be more inclusive than doing it at the AndroidFxAccount
    level.

    I put the cache itself in AndroidFxAccount, since that is where we have
    been storing things associated to the Android Account object; but it
    could just as well go in the authenticator.

========

8d65b5dba9
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Feb 10 10:42:27 2015 -0800

    Bug 964854 - Part 1: Avoid back-to-back setUserData calls.

    This is merely a stab in the dark, but if we are in fact seeing caching
    errors, perhaps we're tickling them by writing twice when we could write
    once.

========

42caec6ee1
Author: Nick Alexander <nalexander@mozilla.com>
Date:   Tue Feb 10 10:40:16 2015 -0800

    Bug 964854 - Part 0: Change logging.
2015-02-10 10:46:40 -08:00
..
app Bug 792992 - Make update URL configurable via pref. r=snorp 2015-02-03 17:18:13 +01:00
base Bug 964854 - Cache account bundles to work around getUserData cache issues. r=rnewman 2015-02-10 10:46:40 -08:00
branding Bug 1100750 - Handle developer usernames that contain dashes. r=nalexander 2014-11-18 10:38:18 -08:00
build/classycle Bug 1096627 - Fail Fennec build if GeckoView library depends on more of Fennec. r=gps 2014-11-14 13:15:17 -08:00
chrome Bug 825483 - Reduce bfcache size on low memory devices r=wesj 2015-02-12 09:02:31 -05:00
components bug 1076329 - fix NSSDialogService to properly inspect checkbox state in confirmDownloadCACert r=mfinkle 2015-02-09 15:09:06 -08:00
config bug 1121160: Release automation support for split-apk builds - add release mozconfigs for split apk builds. r=mfinkle,rnewman 2015-02-09 10:26:13 -05:00
extensions
fonts Bug 1063868 - Allow exclusion of fonts from constrained APKs. r=nalexander 2014-09-09 11:57:55 -07:00
geckoview_library Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson 2014-11-17 11:12:00 -08:00
gradle Bug 1125330 - Expose |mach| output after failures invoking from Gradle. r=me,f=ally 2015-01-27 21:41:14 -08:00
installer Bug 870366 - Part 2c: One more l10n PREF_JS_EXPORTS. r=gps 2015-02-01 11:41:04 -05:00
locales Bug 1128991 - [mobile] Update filter.py to ignore US specific keys in region.properties. r=mfinkle 2015-02-03 08:43:00 +01:00
modules Bug 1130812 - AppConstants.jsm is not substituting correctly r=rnewman 2015-02-08 00:48:35 -05:00
search Backed out changeset ea1ed091f31e (bug 1126240) for android build failures 2015-02-10 16:42:39 -08:00
services Bug 1123107 - Include Reading List checkbox during account creation. r=rnewman 2015-02-11 12:12:31 -08:00
stumbler Bug 1130052 - Try avoid NPE, return from onHandleIntent if null intent. r=vng 2015-02-06 13:30:31 -08:00
tests Bug 1123107 - Include Reading List checkbox during account creation. r=rnewman 2015-02-11 12:12:31 -08:00
themes/core Bug 1092006 - Fix form_border_radius define & mark expected failures. r=wesj 2015-02-05 08:08:00 +01:00
thirdparty Bug 1098239 - Rewrite mobile/android Gradle integration. r=me 2014-12-22 19:49:04 -08:00
app.mozbuild Bug 1063414 - Make DIRS relative to the file they were added from. r=gps 2014-10-02 09:14:07 +09:00
build.mk
confvars.sh Bug 1123377 - Create build flag for reading list service on Android. r=nalexander 2015-01-22 08:27:43 -08:00
debug_sign_tool.py
defs.mk
LICENSE
mach_commands.py No bug - Make Gradle debug test APK look like Robocop. r=me 2015-01-26 21:52:43 -08:00
Makefile.in
moz.build Bug 1098239 - Rewrite mobile/android Gradle integration. r=me 2014-12-22 19:49:04 -08:00