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

Commit 1570e7d9 authored by Aaron Liu's avatar Aaron Liu
Browse files

[User Switcher] Use Log.e instead of Log.wtf

Log.wtf does not play nicely with atest because it kills the process.
Use Log.e instead.

Bug: 229867034
Test: Run unit tests with AS
Change-Id: Ie0e50d3fb3fcb9ce656b110f82ffde5721f7155f
parent f08f61e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -860,7 +860,7 @@ public class KeyguardSecurityContainer extends FrameLayout {
        private void setupUserSwitcher() {
        private void setupUserSwitcher() {
            final UserRecord currentUser = mUserSwitcherController.getCurrentUserRecord();
            final UserRecord currentUser = mUserSwitcherController.getCurrentUserRecord();
            if (currentUser == null) {
            if (currentUser == null) {
                Log.wtf(TAG, "Current user in user switcher is null.");
                Log.e(TAG, "Current user in user switcher is null.");
                return;
                return;
            }
            }
            Drawable userIcon = findUserIcon(currentUser.info.id);
            Drawable userIcon = findUserIcon(currentUser.info.id);