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

Commit f5f1a2e7 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5402543 from 1c3ef21a to qt-release

Change-Id: Ifd0e9408a10d7df5caa912ff32836636f51a9169
parents 825827da 1c3ef21a
Loading
Loading
Loading
Loading
+0 −17
Original line number Diff line number Diff line
@@ -757,23 +757,6 @@ public final class UsageStatsManager {
        }
    }

    /**
     * @deprecated use
     * {@link #registerAppUsageLimitObserver(int, String[], Duration, Duration, PendingIntent)}.
     *
     * @removed
     * @hide
     */
    @Deprecated
    @UnsupportedAppUsage
    // STOPSHIP b/126917290: remove this method once b/126926550 is fixed.
    public void registerAppUsageLimitObserver(int observerId, @NonNull String[] observedEntities,
            long timeLimit, @NonNull TimeUnit timeUnit, @Nullable PendingIntent callbackIntent) {
        final Duration timeLimitDuration = Duration.ofMillis(timeUnit.toMillis(timeLimit));
        registerAppUsageLimitObserver(observerId, observedEntities,
                timeLimitDuration, timeLimitDuration, callbackIntent);
    }

    /**
     * Register a usage limit observer that receives a callback on the provided intent when the
     * sum of usages of apps and tokens in the provided {@code observedEntities} array exceeds the
+100 −35

File changed.

Preview size limit exceeded, changes collapsed.

+101 −36

File changed.

Preview size limit exceeded, changes collapsed.

+101 −36

File changed.

Preview size limit exceeded, changes collapsed.

+101 −36

File changed.

Preview size limit exceeded, changes collapsed.

Loading