@@ -338,33 +338,33 @@ protected void onCreate(Bundle savedInstanceState) {
338338 }
339339
340340 /// load user interface
341- if (webViewLoginMethod ) {
342- accountSetupWebviewBinding = AccountSetupWebviewBinding .inflate (getLayoutInflater ());
343- setContentView (accountSetupWebviewBinding .getRoot ());
344- anonymouslyPostLoginRequest (webloginUrl );
345- // initWebViewLogin(webloginUrl, false);
346- initCancelButton ();
347- } else {
341+ // if (webViewLoginMethod) {
342+ // accountSetupWebviewBinding = AccountSetupWebviewBinding.inflate(getLayoutInflater());
343+ // setContentView(accountSetupWebviewBinding.getRoot());
344+ // anonymouslyPostLoginRequest(webloginUrl);
345+ // // initWebViewLogin(webloginUrl, false);
346+ // initCancelButton();
347+ // } else {
348348 accountSetupBinding = AccountSetupBinding .inflate (getLayoutInflater ());
349349 setContentView (accountSetupBinding .getRoot ());
350350
351351 /// initialize general UI elements
352352 initOverallUi ();
353-
354- /// initialize block to be moved to single Fragment to check server and get info about it
355-
356- /// initialize block to be moved to single Fragment to retrieve and validate credentials
357- if (TextUtils .isEmpty (getString (R .string .enforce_servers ))) {
358- initAuthorizationPreFragment (savedInstanceState );
359- } else {
360- showEnforcedServers ();
361- }
362- }
363-
364- initServerPreFragment (savedInstanceState );
365- ProcessLifecycleOwner .get ().getLifecycle ().addObserver (lifecycleEventObserver );
366-
367- // webViewUtil.checkWebViewVersion();
353+ //
354+ // /// initialize block to be moved to single Fragment to check server and get info about it
355+ //
356+ // /// initialize block to be moved to single Fragment to retrieve and validate credentials
357+ // if (TextUtils.isEmpty(getString(R.string.enforce_servers))) {
358+ // initAuthorizationPreFragment(savedInstanceState);
359+ // } else {
360+ // showEnforcedServers();
361+ // }
362+ // }
363+ //
364+ // initServerPreFragment(savedInstanceState);
365+ // ProcessLifecycleOwner.get().getLifecycle().addObserver(lifecycleEventObserver);
366+ //
367+ // // webViewUtil.checkWebViewVersion();
368368 }
369369
370370 @ IonosCustomization
0 commit comments