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

Commit 9ad66d36 authored by Steve Pfetsch's avatar Steve Pfetsch Committed by Android (Google) Code Review
Browse files

Merge "Fixed NullPointerException in SystemUI"

parents a0a58365 ef39ce87
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -66,6 +66,9 @@ public class MultiUserSwitch extends FrameLayout implements View.OnClickListener
    }

    public boolean hasMultipleUsers() {
        if (mUserListener == null) {
            return false;
        }
        return mUserListener.getCount() != 0;
    }