Program: 35617
Project: 35617
Buggy source:
@SuppressLint("String_Node_Str") @Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  NextcloudTalkApplication.getSharedApplication().getComponentApplication().inject(this);
  requestWindowFeature(Window.FEATURE_NO_TITLE);
  getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD| WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED| WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
  getWindow().getDecorView().setSystemUiVisibility(getSystemUiVisibility());
  setContentView(R.layout.activity_call);
  ButterKnife.bind(this);
  microphoneControlButton.setOnTouchListener(new microphoneButtonTouchListener());
  videoOnClickListener=new videoClickListener();
  pulseAnimation=PulseAnimation.create().with(microphoneControlButton.getFrontImageView()).setDuration(310).setRepeatCount(PulseAnimation.INFINITE).setRepeatMode(PulseAnimation.REVERSE);
  roomToken=getIntent().getExtras().getString(BundleKeys.KEY_ROOM_TOKEN,"String_Node_Str");
  userEntity=Parcels.unwrap(getIntent().getExtras().getParcelable(BundleKeys.KEY_USER_ENTITY));
  callSession=getIntent().getExtras().getString(BundleKeys.KEY_CALL_SESSION,"String_Node_Str");
  credentials=ApiUtils.getCredentials(userEntity.getUsername(),userEntity.getToken());
  if (getIntent().getExtras().containsKey(BundleKeys.KEY_MODIFIED_BASE_URL)) {
    credentials=null;
    baseUrl=getIntent().getExtras().getString(BundleKeys.KEY_MODIFIED_BASE_URL);
  }
 else {
    baseUrl=userEntity.getBaseUrl();
  }
  callControls.setZ(100.0f);
  basicInitialization();
  if (!userEntity.getCurrent()) {
    userUtils.createOrUpdateUser(null,null,null,null,null,true,null,userEntity.getId(),null).subscribe(new Observer<UserEntity>(){
      @Override public void onSubscribe(      Disposable d){
      }
      @Override public void onNext(      UserEntity userEntity){
        cookieManager.getCookieStore().removeAll();
        userUtils.disableAllUsersWithoutId(userEntity.getId());
        if (getIntent().getExtras().containsKey("String_Node_Str")) {
          handleFromNotification();
        }
 else {
          initViews();
          checkPermissions();
        }
      }
      @Override public void onError(      Throwable e){
      }
      @Override public void onComplete(){
      }
    }
);
  }
 else   if (getIntent().getExtras().containsKey("String_Node_Str")) {
    handleFromNotification();
  }
 else {
    initViews();
    checkPermissions();
  }
}

Fixed version (ground truth):
@SuppressLint("String_Node_Str") @Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  NextcloudTalkApplication.getSharedApplication().getComponentApplication().inject(this);
  requestWindowFeature(Window.FEATURE_NO_TITLE);
  getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD| WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED| WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
  getWindow().getDecorView().setSystemUiVisibility(getSystemUiVisibility());
  setContentView(R.layout.activity_call);
  ButterKnife.bind(this);
  microphoneControlButton.setOnTouchListener(new microphoneButtonTouchListener());
  videoOnClickListener=new videoClickListener();
  pulseAnimation=PulseAnimation.create().with(microphoneControlButton.getFrontImageView()).setDuration(310).setRepeatCount(PulseAnimation.INFINITE).setRepeatMode(PulseAnimation.REVERSE);
  roomToken=getIntent().getExtras().getString(BundleKeys.KEY_ROOM_TOKEN,"String_Node_Str");
  userEntity=Parcels.unwrap(getIntent().getExtras().getParcelable(BundleKeys.KEY_USER_ENTITY));
  callSession=getIntent().getExtras().getString(BundleKeys.KEY_CALL_SESSION,"String_Node_Str");
  credentials=ApiUtils.getCredentials(userEntity.getUsername(),userEntity.getToken());
  if (getIntent().getExtras().containsKey(BundleKeys.KEY_MODIFIED_BASE_URL)) {
    credentials=null;
    baseUrl=getIntent().getExtras().getString(BundleKeys.KEY_MODIFIED_BASE_URL);
  }
 else {
    baseUrl=userEntity.getBaseUrl();
  }
  callControls.setZ(100.0f);
  basicInitialization();
  if (!userEntity.getCurrent()) {
    userUtils.createOrUpdateUser(null,null,null,null,null,true,null,userEntity.getId(),null).subscribe(new Observer<UserEntity>(){
      @Override public void onSubscribe(      Disposable d){
      }
      @Override public void onNext(      UserEntity userEntity){
        cookieManager.getCookieStore().removeAll();
        userUtils.disableAllUsersWithoutId(userEntity.getId());
        if (getIntent().getExtras().containsKey("String_Node_Str")) {
          handleFromNotification();
        }
 else {
          initViews();
          checkPermissions();
        }
      }
      @Override public void onError(      Throwable e){
      }
      @Override public void onComplete(){
      }
    }
);
  }
 else   if (getIntent().getExtras().containsKey("String_Node_Str")) {
    handleFromNotification();
  }
 else {
    initViews();
    checkPermissions();
  }
}