summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2018-10-02 13:19:54 -0700
committerWale Ogunwale <ogunwale@google.com>2018-10-04 00:28:43 -0700
commitc4e63a46a5cc0f13357098ea09aa20c96ce5f08d (patch)
tree32ea81c37fd096e82e2457a71bd79beaefc1a85a /core/java/android
parente02713e6c0fbd5bcbc6d549344f19307a6a180a7 (diff)
Introduced ActivityServiceConnectionsHolder (18/n)
Class for managing the connections to services on the AM side that activities on the WM side bind with for things like oom score adjustment. Bug: 80414790 Test: Existing tests pass. Change-Id: I4ab5140dd7f888f448ce19107bda92c01066a3dc
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/app/ActivityManagerInternal.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java
index 294a3ec73efd..76b90f5354b3 100644
--- a/core/java/android/app/ActivityManagerInternal.java
+++ b/core/java/android/app/ActivityManagerInternal.java
@@ -245,4 +245,6 @@ public abstract class ActivityManagerInternal {
public abstract ComponentName startServiceInPackage(int uid, Intent service,
String resolvedType, boolean fgRequired, String callingPackage, int userId)
throws TransactionTooLargeException;
+
+ public abstract void disconnectActivityFromServices(Object connectionHolder);
}