mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
Fix for EMM system configuration for mobile (#1434)
This commit is contained in:
parent
f79ff3fd63
commit
7f7b673b0a
2 changed files with 5 additions and 3 deletions
|
@ -149,7 +149,9 @@ namespace Bit.Droid
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
}
|
}
|
||||||
var setRestrictions = AndroidHelpers.SetPreconfiguredRestrictionSettingsAsync(this);
|
AndroidHelpers.SetPreconfiguredRestrictionSettingsAsync(this)
|
||||||
|
.GetAwaiter()
|
||||||
|
.GetResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnNewIntent(Intent intent)
|
protected override void OnNewIntent(Intent intent)
|
||||||
|
|
|
@ -381,7 +381,7 @@ namespace Bit.App.Utilities
|
||||||
|
|
||||||
public static async Task SetPreconfiguredSettingsAsync(IDictionary<string, string> configSettings)
|
public static async Task SetPreconfiguredSettingsAsync(IDictionary<string, string> configSettings)
|
||||||
{
|
{
|
||||||
if (configSettings?.Any() ?? true)
|
if (configSettings?.Any() != true)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -403,7 +403,7 @@ namespace Bit.App.Utilities
|
||||||
Icons = environmentService.IconsUrl
|
Icons = environmentService.IconsUrl
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
return;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue