diff options
| author | Dianne Hackborn <hackbod@google.com> | 2015-06-05 14:23:38 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2015-06-05 14:23:38 -0700 |
| commit | 67ba2c7fa25a635c640956ff3a5e64164cb23396 (patch) | |
| tree | fc3e734c9f8b05f4baa310828979e7fad0c6e103 /core/java/android/app/ActivityOptions.java | |
| parent | 2fe44efced5ac28bc3e03c9c101644b4ef0134bb (diff) | |
| download | frameworks_base-67ba2c7fa25a635c640956ff3a5e64164cb23396.zip frameworks_base-67ba2c7fa25a635c640956ff3a5e64164cb23396.tar.gz frameworks_base-67ba2c7fa25a635c640956ff3a5e64164cb23396.tar.bz2 | |
Fix issue #21572679: API Review: ActivityOptions, usage time report
Change-Id: I62751e93e39f90d5d2ec725586880724f3edbbc7
Diffstat (limited to 'core/java/android/app/ActivityOptions.java')
| -rw-r--r-- | core/java/android/app/ActivityOptions.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/app/ActivityOptions.java b/core/java/android/app/ActivityOptions.java index 9f23b43..6fb997e 100644 --- a/core/java/android/app/ActivityOptions.java +++ b/core/java/android/app/ActivityOptions.java @@ -41,16 +41,16 @@ public class ActivityOptions { /** * A long in the extras delivered by {@link #requestUsageTimeReport} that contains - * the total time (in ms) the user spent in the app. + * the total time (in ms) the user spent in the app flow. */ - public static final String EXTRA_USAGE_REPORT_TIME = "android.time"; + public static final String EXTRA_USAGE_TIME_REPORT = "android.usage_time"; /** * A Bundle in the extras delivered by {@link #requestUsageTimeReport} that contains * detailed information about the time spent in each package associated with the app; * each key is a package name, whose value is a long containing the time (in ms). */ - public static final String EXTRA_USAGE_REPORT_PACKAGES = "android.package"; + public static final String EXTRA_USAGE_TIME_REPORT_PACKAGES = "android.usage_time_packages"; /** * The package name that created the options. @@ -915,7 +915,7 @@ public class ActivityOptions { /** * Ask the the system track that time the user spends in the app being launched, and * report it back once done. The report will be sent to the given receiver, with - * the extras {@link #EXTRA_USAGE_REPORT_TIME} and {@link #EXTRA_USAGE_REPORT_PACKAGES} + * the extras {@link #EXTRA_USAGE_TIME_REPORT} and {@link #EXTRA_USAGE_TIME_REPORT_PACKAGES} * filled in. * * <p>The time interval tracked is from launching this activity until the user leaves |
