mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
non-debug is secure
This commit is contained in:
parent
81d972a462
commit
635dd5d4d5
1 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,11 @@ namespace Bit.Droid
|
||||||
ToolbarResource = Resource.Layout.Toolbar;
|
ToolbarResource = Resource.Layout.Toolbar;
|
||||||
|
|
||||||
base.OnCreate(savedInstanceState);
|
base.OnCreate(savedInstanceState);
|
||||||
|
if(!CoreHelpers.InDebugMode())
|
||||||
|
{
|
||||||
|
Window.AddFlags(Android.Views.WindowManagerFlags.Secure);
|
||||||
|
}
|
||||||
|
|
||||||
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
|
Xamarin.Essentials.Platform.Init(this, savedInstanceState);
|
||||||
Xamarin.Forms.Forms.Init(this, savedInstanceState);
|
Xamarin.Forms.Forms.Init(this, savedInstanceState);
|
||||||
_appOptions = GetOptions();
|
_appOptions = GetOptions();
|
||||||
|
|
Loading…
Reference in a new issue