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

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