1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 13:23:39 +00:00

bugfixes for lock block when setting timeout to immediate (#1455)

This commit is contained in:
Matt Portune
2021-07-12 10:58:17 -04:00
committed by GitHub
parent 1f57ba6c50
commit d8e68a266c
6 changed files with 32 additions and 13 deletions

View File

@@ -327,6 +327,11 @@ namespace Bit.Droid
{
if (intent.Action == Intent.ActionSend && intent.Type != null)
{
if ((intent.Flags & ActivityFlags.LaunchedFromHistory) == ActivityFlags.LaunchedFromHistory)
{
// don't re-deliver intent if resuming from app switcher
return null;
}
var type = intent.Type;
if (type.Contains("text/"))
{