summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2018-02-07 23:23:37 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-02-07 23:23:37 +0000
commitb16f5675763d34e539b9e9fbbbc2d51485dc2d40 (patch)
tree08562835c60dbd713aeb0df018e4fbb5b15b697a /core/java/android
parentd042bf1b23fb9ab9d81c383fd77c78b46dc2a68e (diff)
parent3f7be62d316cf366fabca64b718f17982c8f436d (diff)
Merge "Retry: JobScheduler to use UID active state for job exemption"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/app/ActivityManagerInternal.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java
index 5ee7edee9db7..4626cb274c0e 100644
--- a/core/java/android/app/ActivityManagerInternal.java
+++ b/core/java/android/app/ActivityManagerInternal.java
@@ -348,4 +348,9 @@ public abstract class ActivityManagerInternal {
* Returns is the caller has the same uid as the Recents component
*/
public abstract boolean isCallerRecents(int callingUid);
+
+ /**
+ * Whether an UID is active or idle.
+ */
+ public abstract boolean isUidActive(int uid);
}