449e46600f75a21975ceb1c991f768f833ed7fbf |
|
21-Feb-2014 |
Elliott Hughes <enh@google.com> |
am 0047d3e0: am e253b514: am 29d60b95: am 8d41e653: Merge "Miscellaneous small documentation fixes." * commit '0047d3e025b43fd2dc05734f7ea6229291445046': Miscellaneous small documentation fixes.
|
9525f2a72e2786f1b53927878dd8234859ea5c39 |
|
02-Jan-2014 |
Mark Doliner <markdoliner@google.com> |
Miscellaneous small documentation fixes. Most of these I noticed on my own. The change to docs/html/tools/testing/testing_ui.jd is mentioned in a bug report: https://code.google.com/p/android/issues/detail?id=56324 Signed-off-by: Mark Doliner <markdoliner@google.com>
/frameworks/base/core/java/android/content/Loader.java
|
c64ff3782c71ce7b5a92b7d91199a922ea0a37d9 |
|
10-Oct-2013 |
Jeff Brown <jeffbrown@google.com> |
Minor code cleanup in loaders. Change-Id: I38147eb9e494b53d41ca3cad042d804631916941
/frameworks/base/core/java/android/content/Loader.java
|
ca614f78bed7eebf9dbfd77ba5720a0b5eeed816 |
|
15-Mar-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix a bug where we could lose a loader content change. If AsyncTaskLoader starts a background update due to a content change, and that update is cancelled, we drop the data when it finally arrives and forget that the content changed. If we later come back to the loader, we then end up showing stale data because we don't know that we still need to update due to the old content change. This change adds a couple new APIs to Loader to deal with the time between when you ask for whether there is a content change and finally either commit the data or cancel the update. AsyncTaskLoader is changed to make use of this so that it doesn't lose changes. Change-Id: I3866236b1c22bb9138f2d9f6032b126aeaee2e6e
/frameworks/base/core/java/android/content/Loader.java
|
b19a71a20adb48c084e87d06a1e6b0dcb49170f5 |
|
31-Jan-2012 |
Jeff Brown <jeffbrown@google.com> |
Support automatic cancellation of Loaders. Change-Id: I18d3f49e413f48fcdd519d15e99c238ad54d35b9
/frameworks/base/core/java/android/content/Loader.java
|
7871badd5d4d29d80207e9cc09a0681f26a151d0 |
|
13-Dec-2011 |
Dianne Hackborn <hackbod@google.com> |
SDK only: now that support lib is in SDK, we can link to it. Update some of the platform documentation to directly link to relevent support lib docs. Yay! Also improve BroadcastReceiver documentation to more clearly discussion security around receivers, and how the support lib's LocalBroadcastManager can help. Change-Id: I563c7516d5fbf91ab884c86bc411aff726249e42
/frameworks/base/core/java/android/content/Loader.java
|
2c84cfc001fb92a71811bf7384b7f865ff31ff9d |
|
31-Oct-2011 |
Dianne Hackborn <hackbod@google.com> |
Various performance and other work. - IME service now switches between visible and perceptible depending on whether it is being showm, allowing us to more aggressively free its memory when not shown. - The activity display time is no longer delayed by the activity transition animation. - New -R (repeat) option for launching activities with the am command. - Improved some documentation on Loader to be clear about some methods that apps should not normally call. - FrameworkPerf test now allows you to select individual tests to run. Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
/frameworks/base/core/java/android/content/Loader.java
|
b54e7a3d9f60ac605f404f9eb3c5e92ca51bbd23 |
|
04-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: add developer guide cross-references, Project ACRE Change-Id: I5df1c4e13af67ff4c4a5b22f3cb1247bf0103b09
/frameworks/base/core/java/android/content/Loader.java
|
36193d09a87035395d036a730038b765ac0b0913 |
|
13-Jul-2011 |
Scott Main <smain@google.com> |
cherrypick Change-Id: I4713d3977a0a1514ff9c4217e7f3723c0346d0d8 docs: revise ActionBar class summary and add a few links to dev guide docs Change-Id: I14df84b16d7bdab85aa74d8b8211e988b0519115
/frameworks/base/core/java/android/content/Loader.java
|
9567a66a5e6f49dd8495fb5f6e2efb9f32e84b35 |
|
20-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
Deprecate a bunch of APIs. And clean up some documentation. Change-Id: I7882183b3daf883b7ac6098d19f88dc7cfbcdf61
/frameworks/base/core/java/android/content/Loader.java
|
260c3c77d9b340164e055f87002c64d78da6e836 |
|
31-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3381489: IllegalStateException: attempt to re-open... ...an already-closed object: android.database.sqlite.SQLiteQuery It turns out there is a state we are missing -- the loader is still needed, but in the inactive list. In this case the loader needs to continue holding on to its current data, and not deliver any new data (which would result in it releasing its old data). This introduces the new state to Loader, and uses it in AsyncTaskLoader so all subclasses of that should get the new correct behavior. A further improvement would be to unregister CursorLoader's content listener when going in to this state, but that can wait for later. Change-Id: I6d30173b94f8e30b5be31d018accd328cc3388ec
/frameworks/base/core/java/android/content/Loader.java
|
247fe74c934cb3fba85aae7e051a8044f460fb11 |
|
09-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Implement issue # 3255887 could CursorLoader offer... ...to throttle contentobserver-based requeries Why yes, I guess it could. This also reworks AsyncTaskLoader to not generate multiple concurrent tasks if it is getting change notifications before the last background task is complete. And removes some of the old APIs that had been deprecated but need to be gone for final release. And fixes a few little problems with applying the wrong theme in system code. Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
/frameworks/base/core/java/android/content/Loader.java
|
0e3b8f421dfcc5363f234eb1b76479cb2fb2e8ee |
|
21-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3301572: onCreateLoader must not be a member class: VolumeMetadataLoader Also some various cleanup. Change-Id: I8e8616a86c50c86817f7ec9bb02a5954c1ccd84f
/frameworks/base/core/java/android/content/Loader.java
|
a2ea747faaf5fcd437afbaaf4085cfc29e7c16b8 |
|
20-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
More cleanup of Loader APIs. - Remove old method names. - Introduce onXxx() hooks to Loader. - Improve debugging. Change-Id: I3fba072a05c7023aa7d2c3eb4e126feb514ab6d8
/frameworks/base/core/java/android/content/Loader.java
|
c91893511dc1b9e634648406c9ae61b15476e65d |
|
15-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3272082: Contacts: when going back from edit view, list UI is not ready yet This involves some reworking of Loaders. Loaders, in particular CursorLoader, are now expected to retain their current data after being stopped. This allows applications to keep that data across onStop() -> onStart(), so when the user returns to the app it doesn't have to wait for the data to reload and thus cause flicker. This includes various API changes to better reflect the new semantics, plus a new LoaderCallbacks method to tell the application when it is actually time to stop their use of a loader's data. Note this is somewhat half-done, to help checking in the extensive application changes that are required without causing build breakage. Change-Id: Ib4b3bf8185a6da46e7f06ca125521d65e2e380a1
/frameworks/base/core/java/android/content/Loader.java
|
ec37c88570bdd1b94309ad613395295f13449c3f |
|
03-Aug-2010 |
Makoto Onuki <omakoto@google.com> |
Adding a method called when detecting content change. Added Loader.onContentChanged() which is called by ForceLoadContentObserver when it detects a change, rather than forceLoad(). By default onContentChanged() just calls forceLoad(), so there's no change in behavior. This is useful when a subclass wants to perform custom operations upon data chantes. For example, a subclass may want to limit the number of automatic requeries per second. Change-Id: I493dac3f4f1a75b056d2c7065336ea9252dbf424
/frameworks/base/core/java/android/content/Loader.java
|
9911b7f83db2e960f72345e6d50df2b77ca75e3f |
|
15-May-2010 |
Jeff Hamilton <jham@android.com> |
Add the Loader and supporting classes. Loaders are designed to make it easier to manage asynchronously loading data. Change-Id: I948db08c721411e94fca071dc6fb4db2b83ea4d6
/frameworks/base/core/java/android/content/Loader.java
|