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

Commit 8349a69f authored by Hui Yu's avatar Hui Yu Committed by Automerger Merge Worker
Browse files

Merge "Add interface tempAllowWhileInUsePermissionInFgs() to...

Merge "Add interface tempAllowWhileInUsePermissionInFgs() to ActivityManagerInternal." into udc-dev am: 88c5443e am: 8ef90338

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



Change-Id: I243a5f326bf2079195e986302ec49cb1b756d4e7
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 06c8a53a 8ef90338
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -994,6 +994,16 @@ public abstract class ActivityManagerInternal {
     */
    public abstract void logFgsApiEnd(int apiType, int uid, int pid);

     /**
     * Temporarily allow foreground service started by an uid to have while-in-use permission
     * for durationMs.
     *
     * @param uid The UID of the app that starts the foreground service.
     * @param durationMs elapsedRealTime duration in milliseconds.
     * @hide
     */
    public abstract void tempAllowWhileInUsePermissionInFgs(int uid, long durationMs);

    /**
     * The list of the events about the {@link android.media.projection.IMediaProjection} itself.
     *