Skip to content
Commit dcb26bbf authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

Avoid locking in getCurrentUser when there is no user switch

Added an optimization to avoid AM lock when userId is not going to
change soon due to mTargetUserId.

Test: manual
Bug: 38143512
Change-Id: Ie358abdb74836ed0dbf782a6ab00362f3685353d
parent e16b83bb
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