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
1 file changed