commit | 9b041747d164719dad8c79463b68a97fba751f67 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Dec 11 17:23:33 2015 -0800 |
committer | Andreas Gampe <agampe@google.com> | Mon Dec 14 13:18:38 2015 -0800 |
tree | da6a6fc656dc82e376132e5d3803dbc17290637d | |
parent | 5ad34c3e5b2328d1dbecfb83c69f3fe44b9ff832 [diff] [blame] |
Frameworks/base: Fix typo in AccountManagerService Fix an unintended tautology. Bug: 19797138 Change-Id: Iec19b5c9c80b9f49a61b0dc3c9a9d5c13c84a992
diff --git a/services/core/java/com/android/server/accounts/AccountManagerService.java b/services/core/java/com/android/server/accounts/AccountManagerService.java index 502d61a..ca5212a 100644 --- a/services/core/java/com/android/server/accounts/AccountManagerService.java +++ b/services/core/java/com/android/server/accounts/AccountManagerService.java
@@ -2449,7 +2449,7 @@ if (sessionBundle != null) { String accountType = sessionBundle.getString(AccountManager.KEY_ACCOUNT_TYPE); if (TextUtils.isEmpty(accountType) - && !mAccountType.equalsIgnoreCase(mAccountType)) { + || !mAccountType.equalsIgnoreCase(accountType)) { Log.w(TAG, "Account type in session bundle doesn't match request."); } // Add accountType info to session bundle. This will