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

Commit 94b62d99 authored by Hui Yu's avatar Hui Yu
Browse files

Add canAllowWhileInUsePermissionInFgsLocked() method back.

Previous automerge from rvc-dev branch has removed this method, which
causes build failure on rvc-qpr-dev branch.

Bug: 197891691
Test: build and run.
Merged-In: Idc88f274c7a323d175d65bb47eca041772ae9bb7
Change-Id: I5b39c6d79d0ebf2d73118bebf76160aca74d4f22
parent 4a9a5f59
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4982,4 +4982,11 @@ public final class ActiveServices {
        }
        return false;
    }

    boolean canAllowWhileInUsePermissionInFgsLocked(int callingPid, int callingUid,
            String callingPackage) {
        return shouldAllowWhileInUsePermissionInFgsLocked(
                callingPackage, callingPid, callingUid, null, null, false);
    }

}