diff options
| author | Kweku Adams <kwekua@google.com> | 2020-02-13 18:37:44 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2020-02-13 18:37:44 +0000 |
| commit | d088856bfbe63fa00f37e8ff9a0ef4cf6f36ab3f (patch) | |
| tree | 836711fe385888d1a569e87b737ee19c9a794882 /core/java | |
| parent | 29fa4efd6d3534f8d24f8192c6c6936e620d1570 (diff) | |
| parent | f35ed37018c58d1eb0d8c49cc5c6f7538a373c07 (diff) | |
Merge "Make apps active when charging."
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/usage/UsageStatsManager.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/app/usage/UsageStatsManager.java b/core/java/android/app/usage/UsageStatsManager.java index 5668944dfd4e..2c701b48455c 100644 --- a/core/java/android/app/usage/UsageStatsManager.java +++ b/core/java/android/app/usage/UsageStatsManager.java @@ -599,7 +599,8 @@ public final class UsageStatsManager { /** * Returns whether the specified app is currently considered inactive. This will be true if the * app hasn't been used directly or indirectly for a period of time defined by the system. This - * could be of the order of several hours or days. + * could be of the order of several hours or days. Apps are not considered inactive when the + * device is charging. * @param packageName The package name of the app to query * @return whether the app is currently considered inactive */ |
