Put stricter flag checks

Also removed a log which gives away flag.

Bug: 312976400
Test: manual
Change-Id: I4a989de8b6b920666aabf0cc9311e28becc4d862
This commit is contained in:
Manish Singh
2023-11-23 23:23:20 +00:00
parent f403dc9c79
commit 51f1321b1e
18 changed files with 61 additions and 10 deletions

View File

@@ -35,7 +35,7 @@ public class FaceFingerprintUnlockController extends AbstractPreferenceControlle
@Override
public boolean isAvailable() {
return false;
return android.os.Flags.allowPrivateProfile();
}
@Override