do not export bitwarden activities

This commit is contained in:
Kyle Spearrin 2017-10-19 08:53:30 -04:00
parent 0ec22a4639
commit 7cd3e2a5b9
3 changed files with 6 additions and 2 deletions

View file

@ -16,6 +16,8 @@ namespace Bit.Android.Controls
{ {
Control.TextSize = (float)Device.GetNamedSize(NamedSize.Medium, typeof(Button)); Control.TextSize = (float)Device.GetNamedSize(NamedSize.Medium, typeof(Button));
} }
Control.FilterTouchesWhenObscured = true;
} }
protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e) protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)

View file

@ -24,7 +24,8 @@ namespace Bit.Android
{ {
[Activity(Label = "bitwarden", [Activity(Label = "bitwarden",
Icon = "@drawable/icon", Icon = "@drawable/icon",
ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)] ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation,
Exported = false)]
public class MainActivity : FormsAppCompatActivity public class MainActivity : FormsAppCompatActivity
{ {
private const string HockeyAppId = "d3834185b4a643479047b86c65293d42"; private const string HockeyAppId = "d3834185b4a643479047b86c65293d42";

View file

@ -10,7 +10,8 @@ namespace Bit.Android
[Activity(Theme = "@style/BitwardenTheme.Splash", [Activity(Theme = "@style/BitwardenTheme.Splash",
MainLauncher = true, MainLauncher = true,
NoHistory = true, NoHistory = true,
WindowSoftInputMode = global::Android.Views.SoftInput.StateHidden)] WindowSoftInputMode = global::Android.Views.SoftInput.StateHidden,
Exported = false)]
public class SplashActivity : AppCompatActivity public class SplashActivity : AppCompatActivity
{ {
public override void OnCreate(Bundle savedInstanceState, PersistableBundle persistentState) public override void OnCreate(Bundle savedInstanceState, PersistableBundle persistentState)