diff --git a/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Platforms/android/EmbeddedWebview/AuthenticationAgentActivity.cs b/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Platforms/android/EmbeddedWebview/AuthenticationAgentActivity.cs index 7f3bad214..4e4a580fc 100644 --- a/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Platforms/android/EmbeddedWebview/AuthenticationAgentActivity.cs +++ b/src/Microsoft.IdentityModel.Clients.ActiveDirectory/Platforms/android/EmbeddedWebview/AuthenticationAgentActivity.cs @@ -30,6 +30,7 @@ using System.Globalization; using Android.App; using Android.Content; +using Android.Content.PM; using Android.OS; using Android.Webkit; using Android.Widget; @@ -37,7 +38,7 @@ namespace Microsoft.Identity.Core.UI.EmbeddedWebview { - [Activity(Label = "Sign in")] + [Activity(Label = "Sign in", ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize)] internal class AuthenticationAgentActivity : Activity { private const string AboutBlankUri = "about:blank";