Merge "Return GK_PW_HANDLE after remote LSKF verification." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cd7123e071
@@ -350,7 +350,7 @@ public final class ChooseLockSettingsHelper {
|
||||
Utils.enforceSameOwner(mActivity, mUserId);
|
||||
}
|
||||
|
||||
if (mExternal && mReturnCredentials) {
|
||||
if (mExternal && mReturnCredentials && !mRemoteLockscreenValidation) {
|
||||
throw new IllegalArgumentException("External and ReturnCredentials specified. "
|
||||
+ " External callers should never be allowed to receive credentials in"
|
||||
+ " onActivityResult");
|
||||
|
Reference in New Issue
Block a user