Skip to content

Commit

Permalink
Skip System.IO.IsolatedStorage.Tests.HelperTests.GetDataDirectory(sco…
Browse files Browse the repository at this point in the history
…pe: Machine) on Android (#55719)
  • Loading branch information
MaximLipnin committed Jul 16, 2021
1 parent e828a01 commit 4aecc1a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public void GetDataDirectory(IsolatedStorageScope scope)
{
// Machine scope is behind a policy that isn't enabled by default
// https://github.com/dotnet/runtime/issues/21742
if (scope == IsolatedStorageScope.Machine && PlatformDetection.IsInAppContainer)
// It's also disabled on Android, see https://github.com/dotnet/runtime/issues/55693
if (scope == IsolatedStorageScope.Machine && (PlatformDetection.IsInAppContainer || PlatformDetection.IsAndroid))
return;

string path = Helper.GetDataDirectory(scope);
Expand Down

0 comments on commit 4aecc1a

Please sign in to comment.