gecko-dev/mobile/android/base
Jan Henning f9c448be82 Bug 1339737 - Don't set the bookmarks panel scroll position again if the same loader has been reloaded. r=ahunt
Changes in the BrowserDB, e.g. because of sync or when opening a link (in a new tab) will trigger the BookmarksLoader's onContentChanged() method, which will trigger a new load reusing the current loader. This means that currently, the code for setting the scroll position in onLoadFinished() gets to run again in that case.

We only want to set the scroll position when the user has navigated to a different folder. Folder navigation will always create a fresh loader, therefore we now keep track whether we've already seen a particular loader in onLoadFinished() and only set the scroll position if we're encountering this particular BookmarksLoader instance for the first time.

MozReview-Commit-ID: Ln8yeUEoEfr

--HG--
extra : rebase_source : a32c33080f56071059898127c19c75e3d32b3a3b
2017-02-15 21:48:29 +01:00
..
aidl/org/mozilla/gecko/media Bug 1324530 - part 3: make codec methods that change state(start, stop, flush, release) synchronous. r=snorp 2016-12-23 16:25:43 +08:00
crashreporter/res
java/org/mozilla/gecko Bug 1339737 - Don't set the bookmarks panel scroll position again if the same loader has been reloaded. r=ahunt 2017-02-15 21:48:29 +01:00
locales Bug 1325264 - Update wording of 'disconnect from sync' dialog. r=Grisha 2017-01-27 18:11:44 +01:00
resources Bug 1325931 - Pre: add drawable padding to pin r=sebastian 2017-02-09 13:24:24 -08:00
adjust-sdk-sandbox.token Bug 1277407 - Add Adjust sandbox keyfile to tree. r=sebastian 2016-06-03 16:55:51 -07:00
AdjustConstants.java.in Bug 1291366 - Part 1: Use GENERATED_FILES to produce AppConstants.java. r=gps 2016-11-14 20:06:31 -08:00
android-services.mozbuild Bug 730142 - Download batching. r=Grisha,rnewman 2016-09-30 09:33:08 -07:00
AndroidManifest.xml.in Bug 1314466 - part 6, Add new files to build r=nalexander 2016-11-14 16:45:23 -08:00
AppConstants.java.in Bug 1312686 - Link "default browser" setting to app info screen on Android 7+; r=sebastian 2017-02-15 02:27:26 +05:30
FennecManifest_permissions.xml.in Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan 2016-10-17 17:26:51 -07:00
GcmAndroidManifest_permissions.xml.in
GcmAndroidManifest_services.xml.in
geckoview.ddf Bug 1310027 - Remove DOM/mobilemessage and related code. r=Ehsan 2016-10-17 17:26:51 -07:00
generate_build_config.py Bug 1291366 - Part 1: Use GENERATED_FILES to produce AppConstants.java. r=gps 2016-11-14 20:06:31 -08:00
Makefile.in Bug 1291366 - Part 1: Use GENERATED_FILES to produce AppConstants.java. r=gps 2016-11-14 20:06:31 -08:00
moz.build Bug 1339520 - Keep existing TopPanel when cursor is swapped r=sebastian 2017-02-16 18:42:46 -08:00
package-name.txt.in
strings.xml.in Bug 1333589 - 1. Use GeckoBundle for DoorHanger.OnButtonClickListener; r=sebastian 2017-01-25 18:57:31 -05:00