mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
f9c448be82
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 |
||
---|---|---|
.. | ||
aidl/org/mozilla/gecko/media | ||
crashreporter/res | ||
java/org/mozilla/gecko | ||
locales | ||
resources | ||
adjust-sdk-sandbox.token | ||
AdjustConstants.java.in | ||
android-services.mozbuild | ||
AndroidManifest.xml.in | ||
AppConstants.java.in | ||
FennecManifest_permissions.xml.in | ||
GcmAndroidManifest_permissions.xml.in | ||
GcmAndroidManifest_services.xml.in | ||
geckoview.ddf | ||
generate_build_config.py | ||
Makefile.in | ||
moz.build | ||
package-name.txt.in | ||
strings.xml.in |