diff options
| author | Makoto Onuki <omakoto@google.com> | 2018-02-07 23:23:37 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-02-07 23:23:37 +0000 |
| commit | b16f5675763d34e539b9e9fbbbc2d51485dc2d40 (patch) | |
| tree | 08562835c60dbd713aeb0df018e4fbb5b15b697a /core/java | |
| parent | d042bf1b23fb9ab9d81c383fd77c78b46dc2a68e (diff) | |
| parent | 3f7be62d316cf366fabca64b718f17982c8f436d (diff) | |
Merge "Retry: JobScheduler to use UID active state for job exemption"
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/ActivityManagerInternal.java | 5 |
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); } |
