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:
@@ -4982,4 +4982,11 @@ public final class ActiveServices {
|
|||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
boolean canAllowWhileInUsePermissionInFgsLocked(int callingPid, int callingUid,
|
||||||
|
String callingPackage) {
|
||||||
|
return shouldAllowWhileInUsePermissionInFgsLocked(
|
||||||
|
callingPackage, callingPid, callingUid, null, null, false);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user