Program: 174308
Project: 174308
Buggy source:
private void setRequestBtn(){
  mRequestLay.setVisibility(View.VISIBLE);
  mEditDeleteLay.setVisibility(View.GONE);
  mContactLay.setVisibility(View.GONE);
  mRequestProgressView.setVisibility(View.INVISIBLE);
  mRequestTv.setText("String_Node_Str");
  mRequestLay.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      if (AppController.getStoredString(Constants.Authorization) != null) {
        MaterialDialog.Builder builder=MaterialDialogBuilder.create(mContext).customView(R.layout.dialog_simple_yes_no,false);
        final MaterialDialog dialog=builder.build();
        ((TextView)dialog.findViewById(R.id.message_textview)).setText("String_Node_Str");
        RippleView yesBtnRipple=(RippleView)dialog.findViewById(R.id.yes_ripple_btn_cardview);
        yesBtnRipple.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener(){
          @Override public void onComplete(          RippleView rippleView){
            mRequestProgressView.setVisibility(View.VISIBLE);
            mRequestTv.setText("String_Node_Str");
            apiRequest.sendRequestGift(new RequestGiftInput(gift.giftId));
            dialog.dismiss();
          }
        }
);
        RippleView noBtnRipple=(RippleView)dialog.findViewById(R.id.no_ripple_btn_cardview);
        noBtnRipple.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener(){
          @Override public void onComplete(          RippleView rippleView){
            dialog.dismiss();
          }
        }
);
        dialog.show();
      }
 else {
        Snackbari.showS(mRequestLay,"String_Node_Str");
      }
    }
  }
);
}

Fixed version (ground truth):
private void setRequestBtn(){
  mRequestLay.setVisibility(View.VISIBLE);
  mEditDeleteLay.setVisibility(View.GONE);
  mContactLay.setVisibility(View.GONE);
  mRequestProgressView.setVisibility(View.INVISIBLE);
  mRequestTv.setText("String_Node_Str");
  mRequestLay.setOnClickListener(new View.OnClickListener(){
    @Override public void onClick(    View view){
      if (AppController.getStoredString(Constants.Authorization) != null) {
        MaterialDialog.Builder builder=MaterialDialogBuilder.create(mContext).customView(R.layout.dialog_simple_yes_no,false);
        final MaterialDialog dialog=builder.build();
        ((TextView)dialog.findViewById(R.id.message_textview)).setText("String_Node_Str");
        RippleView yesBtnRipple=(RippleView)dialog.findViewById(R.id.yes_ripple_btn_cardview);
        yesBtnRipple.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener(){
          @Override public void onComplete(          RippleView rippleView){
            mRequestProgressView.setVisibility(View.VISIBLE);
            mRequestTv.setText("String_Node_Str");
            apiRequest.sendRequestGift(new RequestGiftInput(gift.giftId));
            dialog.dismiss();
          }
        }
);
        RippleView noBtnRipple=(RippleView)dialog.findViewById(R.id.no_ripple_btn_cardview);
        noBtnRipple.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener(){
          @Override public void onComplete(          RippleView rippleView){
            dialog.dismiss();
          }
        }
);
        dialog.show();
      }
 else {
        MaterialDialog.Builder builder=MaterialDialogBuilder.create(mContext).customView(R.layout.dialog_simple_yes_no,false);
        final MaterialDialog dialog=builder.build();
        ((TextView)dialog.findViewById(R.id.message_textview)).setText("String_Node_Str");
        RippleView yesBtnRipple=(RippleView)dialog.findViewById(R.id.yes_ripple_btn_cardview);
        yesBtnRipple.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener(){
          @Override public void onComplete(          RippleView rippleView){
            startActivity(LoginActivity.createIntent());
            dialog.dismiss();
          }
        }
);
        RippleView noBtnRipple=(RippleView)dialog.findViewById(R.id.no_ripple_btn_cardview);
        noBtnRipple.setOnRippleCompleteListener(new RippleView.OnRippleCompleteListener(){
          @Override public void onComplete(          RippleView rippleView){
            dialog.dismiss();
          }
        }
);
        dialog.show();
      }
    }
  }
);
}