commit | 1767fcd5040085ffe7c40e9c8b3790a13d068bc1 | [log] [tgz] |
---|---|---|
author | Sandra Kwan <sandrakwan@google.com> | Thu Apr 07 10:58:27 2016 -0700 |
committer | Sandra Kwan <sandrakwan@google.com> | Thu Apr 07 11:01:40 2016 -0700 |
tree | d801d8db30696757855b2d6df11c12d5add521cd | |
parent | 8b704d4474caf9fa0c7a734582fb6cce55248de4 [diff] |
AccountManager: fix updateCredentials API. Bug: 26157869 Change-Id: Icd2148db6923383263bcce5ad845bcb1411f5c4e
diff --git a/services/core/java/com/android/server/accounts/AccountManagerService.java b/services/core/java/com/android/server/accounts/AccountManagerService.java index 8a0a62a..810270d 100644 --- a/services/core/java/com/android/server/accounts/AccountManagerService.java +++ b/services/core/java/com/android/server/accounts/AccountManagerService.java
@@ -2884,7 +2884,6 @@ } if (response == null) throw new IllegalArgumentException("response is null"); if (account == null) throw new IllegalArgumentException("account is null"); - if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); int userId = UserHandle.getCallingUserId(); long identityToken = clearCallingIdentity(); try {