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

Commit 5a5a1ca1 authored by Xiaohui Chen's avatar Xiaohui Chen
Browse files

clean up UserHandle.USER_OWNER reference.

mCurrentProfileIds does not seem to need the initial value of USER_OWNER.

Bug: 19913735
Change-Id: I7eeff712fb366ccdffef4031f385416c165e7fd6
parent 55552596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1278,7 +1278,7 @@ public final class ActivityManagerService extends ActivityManagerNative
    int mTargetUserId = UserHandle.USER_NULL;
    // If there are multiple profiles for the current user, their ids are here
    // Currently only the primary user can have managed profiles
    int[] mCurrentProfileIds = new int[] {UserHandle.USER_OWNER}; // Accessed by ActivityStack
    int[] mCurrentProfileIds = new int[] {}; // Accessed by ActivityStack
    /**
     * Mapping from each known user ID to the profile group ID it is associated with.
+1 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ public class WindowManagerService extends IWindowManager.Stub
     * Users that are profiles of the current user. These are also allowed to show windows
     * on the current user.
     */
    int[] mCurrentProfileIds = new int[] {UserHandle.USER_OWNER};
    int[] mCurrentProfileIds = new int[] {};

    final Context mContext;