Loading quickstep/src/com/android/launcher3/uioverrides/ApiWrapper.java +3 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,9 @@ public class ApiWrapper { if (android.os.Flags.allowPrivateProfile() && Flags.enablePrivateSpace()) { LauncherApps launcherApps = context.getSystemService(LauncherApps.class); LauncherUserInfo launcherUserInfo = launcherApps.getLauncherUserInfo(user); if (launcherUserInfo == null) { continue; } // UserTypes not supported in Launcher are deemed to be the current // Foreground User. int userType = switch (launcherUserInfo.getUserType()) { Loading Loading
quickstep/src/com/android/launcher3/uioverrides/ApiWrapper.java +3 −0 Original line number Diff line number Diff line Loading @@ -80,6 +80,9 @@ public class ApiWrapper { if (android.os.Flags.allowPrivateProfile() && Flags.enablePrivateSpace()) { LauncherApps launcherApps = context.getSystemService(LauncherApps.class); LauncherUserInfo launcherUserInfo = launcherApps.getLauncherUserInfo(user); if (launcherUserInfo == null) { continue; } // UserTypes not supported in Launcher are deemed to be the current // Foreground User. int userType = switch (launcherUserInfo.getUserType()) { Loading