summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipUtils.cpp
diff options
context:
space:
mode:
author Jonathan Scott <scottjonathan@google.com> 2021-02-02 14:10:18 +0000
committer Jonathan Scott <scottjonathan@google.com> 2021-02-02 14:11:48 +0000
commiteb3e2b3b109d1c0279776fd4844090d06405f03b (patch)
tree79887a9a126c8237ac3d2fe25391d57504446015 /libs/androidfw/ZipUtils.cpp
parent6ac99deae2afc3c479248f32b4537fafe87bf5ca (diff)
Throw IllegalArgumentException when calling
LockPatternUtils#getCredentialTypeForUser with invalid ID. Currently, using e.g. USER_CURRENT results in returning that the user requires no credentials - which can lead to un-noticed bugs such as b/176801033 Test: atest com.android.internal.widget.LockPatternUtilsTest Change-Id: I09be7f8f32e67ad039d9cd1d1710ef34ec198773
Diffstat (limited to 'libs/androidfw/ZipUtils.cpp')
0 files changed, 0 insertions, 0 deletions