gecko/mobile/android
Andrzej Hunt e01296ef75 Bug 1254468 - Remove broken TransitionAwareCursorLoaderCallbacks r=sebastian a=ritu
TransitionAwareCursorLoaderCallbacks is fundamentally flawed: old CursorLoader
cursors _must_ not be used after onLoadFinished has been called. However
we sometimes queue the cursor swapping (which is implemented by subclasses
in onLoadFinishedAfterTransitions) until after transitions have finished.
CursorLoader.deliverResult() closes the old cursor immediately after calling
onLoadFinished (with the new cursor). At this stage the adapter is
still holding onto the old (but now closed cursor), and will crash if it tries
to read this cursor (which can happen if the adapter is still iterating over the
cursor).

Instead we should ensure that we swap the cursors during onLoadFinished - the simplest
way to do this is by eliminating TransitionAwareCursorLoader and using onLoadFinished
the way the Android framework expects.

It's worth noting that TransitionAwareCursorLoader is obsolete: at the time it was added,
home panels were placed in the HomePagerTabStrip, which notified TransitionsTracker about
its transitions. However HomePagerTabStrip no longer exists, hence there's no need
for us to care about these transitions anymore. (The crash seems to happen because we
try to hide the doorhanger every time we receive LOCATION_CHANGE, and each of these starts
a hide transition - even if no doorhanger is shown - hence we often have a transition
in progress every time we show topsites.)

MozReview-Commit-ID: HsytLpHOrp2
2016-03-14 15:38:53 -07:00
..
app Bug 1253598 - Put offline cache feature behind a switchboard flag. r=sebastian, a=lizzard 2016-03-10 15:31:30 -05:00
b2gdroid Merge mozilla-central to mozilla-inbound 2016-03-01 15:25:31 +01:00
base Bug 1254468 - Remove broken TransitionAwareCursorLoaderCallbacks r=sebastian a=ritu 2016-03-14 15:38:53 -07:00
bouncer Bug 1248160 - Part 2: Inline MOZ_ANDROID_SHARED_FXACCOUNT_TYPE. r=ted.mielczarek 2016-02-13 10:13:10 -08:00
branding Bug 1252694 - Set MOZ_ANDROID_GCM_SENDERID directly in branding. r=glandium 2016-03-01 15:31:27 -08:00
build/classycle
chrome Bug 1255461 - Notify pref handlers when pseudo-prefs change; r=snorp a=ritu 2016-03-18 15:18:51 -04:00
components Bug 1246956 - Add loadReplace to session history. r=yoric r=mfinkle 2016-03-02 12:17:22 +01:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-03-07 09:23:19 -05:00
docs Bug 1249094 - Add UI Telemetry probes for application foreground / background changes r=margaret 2016-02-19 14:56:40 -05:00
fonts
geckoview_library Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal 2015-12-31 08:10:02 +09:00
installer Merge inbound to m-c a=merge 2016-03-01 15:19:25 -08:00
javaaddons
locales Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2016-03-07 09:23:19 -05:00
modules Bug 1235869 - Remove web runtime from android. r=myk 2016-02-29 10:31:00 +01:00
search Bug 1243931 - Use Context.getPackageName() instead of AppConstants.ANDROID_PACKAGE_NAME. r=nalexander 2016-01-28 16:30:52 -07:00
services Bug 1207714 - Pre: Tweaks to the autopush client. r=me 2016-03-01 16:59:49 -08:00
stumbler Bug 1216532 - StumblerService: Do not run if location permission has not been granted. r=nalexander 2016-01-11 12:20:46 +01:00
tests Bug 1232868 - Update strings. r=mcomella 2016-03-04 10:01:14 -08:00
themes/core Bug 1226238 - (Part 5) Update reader view toolbar styles. r=Gijs,ahunt 2016-02-22 14:28:02 -08:00
thirdparty Bug 1201653 - Provide a way to self-select into a specific experiment [Switchboard]. r=margaret 2016-02-03 16:49:09 -08:00
.eslintrc Bug 1235869 - Remove web runtime from android. r=myk 2016-02-29 10:31:00 +01:00
app.mozbuild
build.mk Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
confvars.sh Bug 1233799 - Enable DownloadContentService (and exclude fonts) in Nightly. r=rnewman 2016-02-16 16:43:27 +00:00
debug_sign_tool.py
LICENSE
mach_commands.py Bug 1249166 - Pre: Set JAVA_HOME in |mach gradle|. r=me 2016-02-18 09:06:39 -08:00
Makefile.in
moz.build Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps 2016-02-12 10:06:40 -08:00