Skip to content

Commit

Permalink
Reduce warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kenelin committed Jan 1, 2021
1 parent 03645b4 commit 18acada
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/Htc.Vita.Core/Runtime/UserManager.Windows.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static partial class UserManager
{
internal static class Windows
{
internal static string GetFirstActiveUser(string serverName)
internal static string GetFirstActiveUserInPlatform(string serverName)
{
var windowsUsers = GetPlatformUsers(serverName);
return (from windowsUser
Expand Down Expand Up @@ -226,7 +226,7 @@ ref shellWindowProcessId
return false;
}

internal static bool SendMessageToFirstActiveUser(
internal static bool SendMessageToFirstActiveUserInPlatform(
string title,
string message,
uint timeout,
Expand Down
4 changes: 2 additions & 2 deletions source/Htc.Vita.Core/Runtime/UserManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static partial class UserManager
/// <returns>System.String.</returns>
public static string GetFirstActiveUser()
{
var result = Windows.GetFirstActiveUser(null);
var result = Windows.GetFirstActiveUserInPlatform(null);
if (string.IsNullOrWhiteSpace(result))
{
result = GetCurrentUser();
Expand Down Expand Up @@ -77,7 +77,7 @@ public static bool IsShellUserElevated()
string message,
uint timeout)
{
return Windows.SendMessageToFirstActiveUser(
return Windows.SendMessageToFirstActiveUserInPlatform(
title,
message,
timeout,
Expand Down

0 comments on commit 18acada

Please sign in to comment.