Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7dae1ffc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Improve the documentation of getLastTimeComponentUsed() API" into sc-dev am: 59a83665

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13883167

Change-Id: I7f72c17cf8257643319664999a6f996f5649e56f
parents 21e3cea6 59a83665
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -110,7 +110,9 @@ public final class UsageStats implements Parcelable {
    public long mTotalTimeForegroundServiceUsed;

    /**
     * Last time this package's component is used, measured in milliseconds since the epoch.
     * Last time this package's component is used by a client package, measured in milliseconds
     * since the epoch. Note that component usage is only reported in certain cases (e.g. broadcast
     * receiver, service, content provider).
     * See {@link UsageEvents.Event#APP_COMPONENT_USED}
     * @hide
     */
@@ -274,8 +276,10 @@ public final class UsageStats implements Parcelable {
    }

    /**
     * Get the last time this package's component was used, measured in milliseconds since the
     * epoch.
     * Get the last time this package's component was used by a client package, measured in
     * milliseconds since the epoch. Note that component usage is only reported in certain cases
     * (e.g. broadcast receiver, service, content provider).
     * See {@link UsageEvents.Event#APP_COMPONENT_USED}
     * @hide
     */
    @SystemApi