Merge "Allow background default container service in a less crashy way" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-05 20:43:38 +00:00
committed by Android (Google) Code Review
3 changed files with 38 additions and 0 deletions

View File

@@ -635,6 +635,11 @@ interface IActivityManager {
*/
int getLastResumedActivityUserId();
/**
* Add a bare uid to the background restrictions whitelist. Only the system uid may call this.
*/
void backgroundWhitelistUid(int uid);
// WARNING: when these transactions are updated, check if they are any callers on the native
// side. If so, make sure they are using the correct transaction ids and arguments.
// If a transaction which will also be used on the native side is being inserted, add it