summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2020-02-13 18:37:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-02-13 18:37:44 +0000
commitd088856bfbe63fa00f37e8ff9a0ef4cf6f36ab3f (patch)
tree836711fe385888d1a569e87b737ee19c9a794882 /core/java
parent29fa4efd6d3534f8d24f8192c6c6936e620d1570 (diff)
parentf35ed37018c58d1eb0d8c49cc5c6f7538a373c07 (diff)
Merge "Make apps active when charging."
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/usage/UsageStatsManager.java3
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
*/