summaryrefslogtreecommitdiff
path: root/core/java/android/content/ComponentCallbacks2.java
Commit message (Collapse)AuthorAgeFilesLines
* More auto-doc work.Jeff Sharkey2017-04-211-7/+20
| | | | | | | | | | | | | | Add support for AnyThread, CallSuper, and UiThread. Another related CL started documenting @RequiresPermission, so remove duplicated information in existing APIs. Suppress auto-doc on a handful of classes that are already well-documented. Test: make -j32 offline-sdk-docs Bug: 37526420 Change-Id: I791437dccec0f11d5349a23b982ba098cb551af8
* more javadocs for onTrimMemory()Scott Main2013-09-131-1/+62
| | | | Change-Id: I52a99bc1b07732e474d1c632f3021c6c4db8c5ab
* Update process importance documentation.Dianne Hackborn2012-04-261-1/+5
| | | | | | Also be more direct about some of the wallpaper APIs. Change-Id: I2112898c0cd4415d6c5fd47923de682d59b8291f
* Work on more low memory reporting to apps.Dianne Hackborn2012-03-061-2/+36
| | | | | | | | | | | | | There are now some new trim memory levels that are sent to non-background applications as RAM becomes low. There is a new API for an application to retrieve information about memory trimming and such on demand. Fixed various checks against the memory trim level to be robust (not compare against exact values). Change-Id: Ifd1c6151124350168aef20a94e517166fd2e03eb
* Various work on out of memory managment.Dianne Hackborn2011-07-291-0/+66
- Improve how we handle processes that have shown UI, to take care of more cases where we want to push them into the background LRU list. - New trim memory level for when an application that has done UI is no longer visible to the user. - Add APIs to get new trim memory callback. - Add a host of new bind flags to tweak how the system will adjust the OOM level of the target process. Change-Id: I23ba354112f411a9f8773a67426b4dff85fa2439