1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-10-04 04:58:04 +02:00

cancel on lock page back button

This commit is contained in:
Kyle Spearrin 2017-11-17 10:03:41 -05:00
parent 44ef82219b
commit b52134e9ee

View File

@ -117,7 +117,15 @@ namespace Bit.Android
MessagingCenter.Subscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current, "BackgroundApp", (sender) =>
{
MoveTaskToBack(true);
if(Intent.GetBooleanExtra("autofillFramework", false))
{
SetResult(Result.Canceled);
Finish();
}
else
{
MoveTaskToBack(true);
}
});
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(