summaryrefslogtreecommitdiff
path: root/core/java/android/content/ComponentCallbacks.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-07-29 01:25:18 -0700
committerDianne Hackborn <hackbod@google.com>2011-07-29 02:06:46 -0700
commitc68c913d357e2955d4bd7ca52829071e531c7825 (patch)
tree764dddf699a1db5e44d74e94e3f354b9ed61ff71 /core/java/android/content/ComponentCallbacks.java
parent3970f6833d3c19f96cc7b6831327c8488932fa57 (diff)
Various work on out of memory managment.
- 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
Diffstat (limited to 'core/java/android/content/ComponentCallbacks.java')
-rw-r--r--core/java/android/content/ComponentCallbacks.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/java/android/content/ComponentCallbacks.java b/core/java/android/content/ComponentCallbacks.java
index 37cc1416ed81..dad60b0d2121 100644
--- a/core/java/android/content/ComponentCallbacks.java
+++ b/core/java/android/content/ComponentCallbacks.java
@@ -51,13 +51,4 @@ public interface ComponentCallbacks {
* The system will perform a gc for you after returning from this method.
*/
void onLowMemory();
-
- /** @hide */
- static final int TRIM_MEMORY_COMPLETE = 80;
-
- /** @hide */
- static final int TRIM_MEMORY_MODERATE = 50;
-
- /** @hide */
- static final int TRIM_MEMORY_BACKGROUND = 20;
}