Program: 165042
Project: 165042
Buggy source:
@Override public void onConfigurationFetched(Configuration configuration){
  fragment.sendAnalyticsEvent("String_Node_Str");
  if (fragment.getConfiguration().getPayPal().getUseBillingAgreement()) {
    PayPalCheckout checkout=new PayPalCheckout();
    billingAgreement(fragment,checkout);
    return;
  }
  sBraintreeFragmentBroadcastReceiver.setFragment(fragment);
  BraintreeBroadcastManager.getInstance(fragment.getContext()).registerReceiver(sBraintreeFragmentBroadcastReceiver,new IntentFilter(BraintreeBrowserSwitchActivity.LOCAL_BROADCAST_BROWSER_SWITCH_COMPLETED));
  try {
    sPendingRequest=buildPayPalAuthorizationConfiguration(fragment.getActivity(),fragment.getConfiguration(),fragment.getClientToken().toJson());
    if (additionalScopes != null) {
      for (      String scope : additionalScopes) {
        ((AuthorizationRequest)sPendingRequest).withScopeValue(scope);
      }
    }
    sPendingRequestStatus=PayPalOneTouchCore.performRequest(fragment.getActivity(),sPendingRequest,PAYPAL_AUTHORIZATION_REQUEST_CODE,sEnableSignatureVerification,new BrowserSwitchAdapter(){
      @Override public void handleBrowserSwitchIntent(      Intent intent){
        fragment.getActivity().startActivityForResult(new Intent(fragment.getActivity(),BraintreeBrowserSwitchActivity.class).setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION).putExtra(BraintreeBrowserSwitchActivity.EXTRA_INTENT,intent),PAYPAL_AUTHORIZATION_REQUEST_CODE);
      }
    }
);
    sendAnalyticsForPayPalPerformRequestStatus(fragment,sPendingRequestStatus,false);
  }
 catch (  BraintreeException ignored) {
  }
}

Fixed version (ground truth):
@Override public void onConfigurationFetched(Configuration configuration){
  fragment.sendAnalyticsEvent("String_Node_Str");
  if (fragment.getConfiguration().getPayPal().getUseBillingAgreement()) {
    PayPalCheckout checkout=new PayPalCheckout();
    billingAgreement(fragment,checkout);
    return;
  }
  sBraintreeFragmentBroadcastReceiver.setFragment(fragment);
  BraintreeBroadcastManager.getInstance(fragment.getApplicationContext()).registerReceiver(sBraintreeFragmentBroadcastReceiver,new IntentFilter(BraintreeBrowserSwitchActivity.LOCAL_BROADCAST_BROWSER_SWITCH_COMPLETED));
  try {
    sPendingRequest=buildPayPalAuthorizationConfiguration(fragment.getActivity(),fragment.getConfiguration(),fragment.getClientToken().toJson());
    if (additionalScopes != null) {
      for (      String scope : additionalScopes) {
        ((AuthorizationRequest)sPendingRequest).withScopeValue(scope);
      }
    }
    sPendingRequestStatus=PayPalOneTouchCore.performRequest(fragment.getActivity(),sPendingRequest,PAYPAL_AUTHORIZATION_REQUEST_CODE,sEnableSignatureVerification,new BrowserSwitchAdapter(){
      @Override public void handleBrowserSwitchIntent(      Intent intent){
        fragment.getActivity().startActivityForResult(new Intent(fragment.getActivity(),BraintreeBrowserSwitchActivity.class).setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION).putExtra(BraintreeBrowserSwitchActivity.EXTRA_INTENT,intent),PAYPAL_AUTHORIZATION_REQUEST_CODE);
      }
    }
);
    sendAnalyticsForPayPalPerformRequestStatus(fragment,sPendingRequestStatus,false);
  }
 catch (  BraintreeException ignored) {
  }
}