1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

Cleanup hacks because of Intent LaunchedFromHistory bug

This commit is contained in:
Kyle Spearrin
2017-02-06 19:39:07 -05:00
parent 749508871b
commit c7af81bf0c
4 changed files with 36 additions and 66 deletions

View File

@@ -28,7 +28,7 @@ namespace Bit.Android
protected override void OnCreate(Bundle bundle)
{
var uri = Intent.GetStringExtra("uri");
var uri = Intent.Flags.HasFlag(ActivityFlags.LaunchedFromHistory) ? null : Intent.GetStringExtra("uri");
if(Intent.HasExtra("uri"))
{
Intent.RemoveExtra("uri");
@@ -99,7 +99,6 @@ namespace Bit.Android
private void ReturnCredentials(VaultListPageModel.Login login)
{
App.App.FromAutofillService = true;
Intent data = new Intent();
if(login == null)
{