1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 15:23:35 +00:00

debug check on screenshot protection

This commit is contained in:
Kyle Spearrin
2017-07-24 15:04:31 -04:00
parent 679859fb37
commit 73425c0052
4 changed files with 15 additions and 21 deletions

View File

@@ -56,7 +56,10 @@ namespace Bit.Android
Console.WriteLine("A OnCreate");
Window.SetSoftInputMode(SoftInput.StateHidden);
Window.AddFlags(WindowManagerFlags.Secure);
if(!App.Utilities.Helpers.InDebugMode())
{
Window.AddFlags(WindowManagerFlags.Secure);
}
var appIdService = Resolver.Resolve<IAppIdService>();
var authService = Resolver.Resolve<IAuthService>();