Merge "Fix NPE, caller may not pass loginOptions." into honeycomb
This commit is contained in:
committed by
Android (Google) Code Review
commit
05db1af9bb
@ -888,6 +888,9 @@ public class AccountManagerService
|
||||
final boolean permissionGranted = customTokens ||
|
||||
permissionIsGranted(account, authTokenType, callerUid);
|
||||
|
||||
if (loginOptions == null) {
|
||||
loginOptions = new Bundle();
|
||||
}
|
||||
if (customTokens) {
|
||||
// let authenticator know the identity of the caller
|
||||
loginOptions.putInt(AccountManager.KEY_CALLER_UID, callerUid);
|
||||
|
Reference in New Issue
Block a user