From 1b732bdc6ec3c744b9d2c367eb9316d0b153a13a Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 27 Apr 2023 13:17:06 +0200 Subject: [PATCH] Do not enforce orientation change Signed-off-by: tobiasKaminsky --- .../android/authentication/AuthenticatorActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java index c6b85d697f..777b3214a3 100644 --- a/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java +++ b/app/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java @@ -51,7 +51,6 @@ import android.content.Context; import android.content.Intent; import android.content.ServiceConnection; import android.content.SharedPreferences; -import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.Color; @@ -320,7 +319,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity /// load user interface if (webViewLoginMethod) { - setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); accountSetupWebviewBinding = AccountSetupWebviewBinding.inflate(getLayoutInflater()); setContentView(accountSetupWebviewBinding.getRoot()); initWebViewLogin(webloginUrl, false); @@ -754,8 +752,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity mOperationsServiceBinder = null; } - setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); - super.onDestroy(); }