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
This commit is contained in:
Hui Yu
2021-08-26 15:28:24 -07:00
parent 4a9a5f59c8
commit 94b62d998d

View File

@@ -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);
}
}