mirror of
https://github.com/bitwarden/android.git
synced 2024-12-26 10:58:29 +03:00
fix for activity exporting and workaround for task affinity (#1408)
This commit is contained in:
parent
570edb4319
commit
e61bcd2785
2 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,7 @@ namespace Bit.Droid
|
||||||
Icon = "@mipmap/ic_launcher",
|
Icon = "@mipmap/ic_launcher",
|
||||||
Theme = "@style/LaunchTheme",
|
Theme = "@style/LaunchTheme",
|
||||||
MainLauncher = true,
|
MainLauncher = true,
|
||||||
|
TaskAffinity = "",
|
||||||
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation |
|
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation |
|
||||||
ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden |
|
ConfigChanges.Keyboard | ConfigChanges.KeyboardHidden |
|
||||||
ConfigChanges.Navigation)]
|
ConfigChanges.Navigation)]
|
||||||
|
|
|
@ -3,7 +3,10 @@ using Android.Content.PM;
|
||||||
|
|
||||||
namespace Bit.Droid
|
namespace Bit.Droid
|
||||||
{
|
{
|
||||||
[Activity(NoHistory = true, LaunchMode = LaunchMode.SingleTop)]
|
[Activity(
|
||||||
|
Exported = false,
|
||||||
|
NoHistory = true,
|
||||||
|
LaunchMode = LaunchMode.SingleTop)]
|
||||||
[IntentFilter(new[] { Android.Content.Intent.ActionView },
|
[IntentFilter(new[] { Android.Content.Intent.ActionView },
|
||||||
Categories = new[] { Android.Content.Intent.CategoryDefault, Android.Content.Intent.CategoryBrowsable },
|
Categories = new[] { Android.Content.Intent.CategoryDefault, Android.Content.Intent.CategoryBrowsable },
|
||||||
DataScheme = "bitwarden")]
|
DataScheme = "bitwarden")]
|
||||||
|
|
Loading…
Reference in a new issue