Do not enforce orientation change

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2023-04-27 13:17:06 +02:00 committed by Andy Scherzinger
parent 8ebc170b81
commit 1b732bdc6e

View file

@ -51,7 +51,6 @@ import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.content.ServiceConnection; import android.content.ServiceConnection;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.Color; import android.graphics.Color;
@ -320,7 +319,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
/// load user interface /// load user interface
if (webViewLoginMethod) { if (webViewLoginMethod) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
accountSetupWebviewBinding = AccountSetupWebviewBinding.inflate(getLayoutInflater()); accountSetupWebviewBinding = AccountSetupWebviewBinding.inflate(getLayoutInflater());
setContentView(accountSetupWebviewBinding.getRoot()); setContentView(accountSetupWebviewBinding.getRoot());
initWebViewLogin(webloginUrl, false); initWebViewLogin(webloginUrl, false);
@ -754,8 +752,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
mOperationsServiceBinder = null; mOperationsServiceBinder = null;
} }
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR);
super.onDestroy(); super.onDestroy();
} }