Fix wrong variable in AccountManagerService's TokenCache
// mAccountEvictors.put(k.account, tokenEvictor);
// should be:
mAccountEvictors.put(k.account, accountEvictor);
This error in putToken() method causes the confusion of mAccountEvictors,
and may causes the evict() method does not clean up the cache data correctly.
Change-Id: I9435c206a6fa4d90177bbbe8816004365a213d1b
Signed-off-by: Haohua Li <lihaohua90@gmail.com>
Loading
Please register or sign in to comment