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

Commit 18cf4fa1 authored by Dave Mankoff's avatar Dave Mankoff Committed by Android (Google) Code Review
Browse files

Merge "Clarify comment on ProcessWrapper#myUserHandle" into main

parents d2b5e111 1535c0f4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -39,7 +39,10 @@ public class ProcessWrapper {
    /**
     * Returns {@link UserHandle} as returned statically by {@link Process#myUserHandle()}.
     *
     * Please strongly consider using {@link com.android.systemui.settings.UserTracker} instead.
     * This should not be used to get the "current" user. This information only applies to the
     * current process, not the current state of SystemUI. Please use
     * {@link com.android.systemui.settings.UserTracker} if you want to learn about the currently
     * active user in SystemUI.
     */
    public UserHandle myUserHandle() {
        return Process.myUserHandle();