summaryrefslogtreecommitdiff
path: root/core/java/android/content/ComponentCallbacks.java
Commit message (Collapse)AuthorAgeFilesLines
* Annotate ComponentCallbacks with nullability annotationsIan Lake2018-09-121-1/+2
| | | | | | BUG: 78245676 Test: make Change-Id: Idd88ecbfc97672f3a234641c8892c245b4fe130a
* more javadocs for onTrimMemory()Scott Main2013-09-131-10/+24
| | | | Change-Id: I52a99bc1b07732e474d1c632f3021c6c4db8c5ab
* Various work on out of memory managment.Dianne Hackborn2011-07-291-9/+0
| | | | | | | | | | | | | - 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
* Fix bug where memory trim was not being delivered with correct level.Dianne Hackborn2011-07-211-5/+2
| | | | | | | Also improve how we handle services, keeping track of whether they showed UI and if so putting them immediately on the LRU list. Change-Id: I816834668722fc67071863acdb4a7f427a982a08
* Improve handling of low memory.Dianne Hackborn2011-07-141-0/+12
| | | | | | | | | | | | | | Now classify background processes into a set of bins of how much memory they should try to clear. The last bin also involves destroying all activities in that process. Removed the old code for the simulator that is no longer needed (yay). The debugging features it had are now integrated into the regular oom adj code. Small fixes to load average service. Change-Id: Ic8df401714b188c73b50dbc8f8e6345b58f1f3a0
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+54
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-54/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+54