Program: 35648
Project: 35648
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 | 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());
  pulseAnimation=PulseAnimation.create().with(microphoneControlButton).setDuration(310).setRepeatCount(PulseAnimation.INFINITE).setRepeatMode(PulseAnimation.REVERSE);
  roomToken=getIntent().getExtras().getString("String_Node_Str","String_Node_Str");
  userEntity=Parcels.unwrap(getIntent().getExtras().getParcelable("String_Node_Str"));
  callSession="String_Node_Str";
  credentials=ApiHelper.getCredentials(userEntity.getUsername(),userEntity.getToken());
  networkBroadcastReceier=new BroadcastReceiver(){
    @Override public void onReceive(    Context context,    Intent intent){
      if ("String_Node_Str".equals(intent.getAction())) {
        if (!Device.getNetworkType(context).equals(JobRequest.NetworkType.ANY)) {
          startPullingSignalingMessages(true);
        }
 else {
        }
      }
    }
  }
;
  callControls.setZ(100.0f);
  basicInitialization();
  if (!userEntity.getCurrent()) {
    userUtils.createOrUpdateUser(null,null,null,null,null,true,null,userEntity.getId()).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).setDuration(310).setRepeatCount(PulseAnimation.INFINITE).setRepeatMode(PulseAnimation.REVERSE);
  roomToken=getIntent().getExtras().getString("String_Node_Str","String_Node_Str");
  userEntity=Parcels.unwrap(getIntent().getExtras().getParcelable("String_Node_Str"));
  callSession="String_Node_Str";
  credentials=ApiHelper.getCredentials(userEntity.getUsername(),userEntity.getToken());
  networkBroadcastReceier=new BroadcastReceiver(){
    @Override public void onReceive(    Context context,    Intent intent){
      if ("String_Node_Str".equals(intent.getAction())) {
        if (!Device.getNetworkType(context).equals(JobRequest.NetworkType.ANY)) {
          startPullingSignalingMessages(true);
        }
 else {
        }
      }
    }
  }
;
  callControls.setZ(100.0f);
  basicInitialization();
  if (!userEntity.getCurrent()) {
    userUtils.createOrUpdateUser(null,null,null,null,null,true,null,userEntity.getId()).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();
  }
}