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
This commit is contained in:
Wale Ogunwale
2018-10-02 13:19:54 -07:00
parent e02713e6c0
commit c4e63a46a5
9 changed files with 172 additions and 31 deletions

View File

@@ -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);
}