Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1e565843 authored by Yasin Kilicdere's avatar Yasin Kilicdere
Browse files

Fixed getCurrentUserName() method always returning "Owner" instead of current.

Method was returning name of the user in index 0.
Now it finds the current foreground user and returns its name.

Bug: 203422515
Test: atest com.android.systemui.statusbar.policy.UserSwitcherControllerTest#test_getCurrentUserName_shouldReturnNameOfTheCurrentUser
Change-Id: I8b94fd1394227e6f1858d6903837f7446a6771e1
parent 533e95ed
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