OSDN Git Service

Use UserAccounts handed into accountExistsCacheLocked
authorBenjamin Franz <bfranz@google.com>
Mon, 22 Feb 2016 13:41:53 +0000 (13:41 +0000)
committerBenjamin Franz <bfranz@google.com>
Mon, 22 Feb 2016 13:41:53 +0000 (13:41 +0000)
commit0e592733ecbde2b7e7f2aa92001656dfbcae9641
tree5c64df6d7f7ef1ed6e6016e9f82597713489128d
parentfa272e5c9262bc974d68139a6300ecdbf94f0767
Use UserAccounts handed into accountExistsCacheLocked

Use the object we get handed rather than obtaining the one for the
calling user. We're previously clearing the caller, so the calling user
might not be the same as the one we used to obtain accounts object.

Bug: 27285299
Change-Id: Ie384bca83779593f6569bccea3c2851083ace31d
services/core/java/com/android/server/accounts/AccountManagerService.java