Use existing variable for SpecialFolder.UserProfile (#76299)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 28 Sep 2022 14:28:21 +0000 (16:28 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Sep 2022 14:28:21 +0000 (16:28 +0200)
commit6600d1dad79414ecdf77e561d6e05ab3286918d5
tree3162aae2cd7a26199162df72df5f69fb72cc1b68
parentce6b928406f2a7f487d476794bc2b40b13304045
Use existing variable for SpecialFolder.UserProfile (#76299)

While looking at https://github.com/dotnet/runtime/pull/76250 I noticed that we were querying the HOME env variable for SpecialFolder.UserProfile but we're already doing that in PersistedFiles.GetHomeDirectory()
src/libraries/System.Private.CoreLib/src/System/Environment.Android.cs