diff options
author | Adrian Roos <roosa@google.com> | 2018-01-19 22:31:28 +0100 |
---|---|---|
committer | Adrian Roos <roosa@google.com> | 2018-01-23 15:06:50 +0100 |
commit | b2375947777b7cc04c3f6745244e82418a6d66e6 (patch) | |
tree | aa03ae429f18fe8e94fa040361f84bdef51179d4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a8c7794856c5794fa5b31cf5398b8f773650d6c7 (diff) |
FRP: Explicitly throw UnsupportedOperation when FRP is not supported
Changes KeyguardManager.createConfirmFactoryResetCredentialIntent such that
it throws UnsupportedOperationException when credential-based FRP is not
available on the device (either because storage was corrupted, or the device
simply does not support it).
This allows GMScore to distinguish this case from when the previous owner
simply didn't set up security.
Also fixes a few places where we previously unintentionally crashed with an
NPE.
Bug: 72368658
Test: atest LockSettingsStorageTests
Change-Id: I92fe1d4b06834e76a4bfffad41276ca28c68ce70
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions