Skip to content
Commit f3880fdc authored by Haohua Li's avatar Haohua Li
Browse files

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: default avatarHaohua Li <lihaohua90@gmail.com>
parent 31145f45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment