mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 13:45:35 +03:00
Do not enforce orientation change
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
8ebc170b81
commit
1b732bdc6e
1 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue