Program: 86983
Project: 86983
Buggy source:
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  setDimensions();
  ScrollView rootView=new ScrollView(getActivity());
  rootView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT));
  mLinearLayout=new LinearLayout(getActivity());
  mLinearLayout.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT));
  mLinearLayout.setOrientation(LinearLayout.VERTICAL);
  rootView.setBackgroundColor(getResources().getColor(R.color.card_background_grey));
  rootView.addView(mLinearLayout);
  addRadioButtonLists(inflater);
  SystemBarTintManager tintManager=new SystemBarTintManager(getActivity());
  int mPaddingBottom, mPaddingTop;
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
    mPaddingBottom=tintManager.getConfig().getNavigationBarHeight();
    mPaddingTop=tintManager.getConfig().getPixelInsetTop(true);
switch (getActivity().getResources().getConfiguration().orientation) {
case Configuration.ORIENTATION_UNDEFINED:
case Configuration.ORIENTATION_PORTRAIT:
      rootView.setPadding(rootView.getPaddingLeft(),rootView.getPaddingTop() + mPaddingTop,rootView.getPaddingRight(),rootView.getPaddingBottom());
    View bottomPaddingView=new View(getActivity());
  bottomPaddingView.setBackgroundColor(Color.TRANSPARENT);
bottomPaddingView.setLayoutParams(new AbsListView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,mPaddingBottom));
bottomPaddingView.setEnabled(false);
mLinearLayout.addView(bottomPaddingView);
break;
case Configuration.ORIENTATION_LANDSCAPE:
rootView.setPadding(rootView.getPaddingLeft(),rootView.getPaddingTop() + mPaddingTop,rootView.getPaddingRight() + mPaddingBottom,rootView.getPaddingBottom());
break;
}
}
return rootView;
}

Fixed version (ground truth):
@Override public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState){
  setDimensions();
  ScrollView rootView=new ScrollView(getActivity());
  rootView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT));
  mLinearLayout=new LinearLayout(getActivity());
  mLinearLayout.setLayoutParams(new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT));
  mLinearLayout.setOrientation(LinearLayout.VERTICAL);
  rootView.setBackgroundColor(getResources().getColor(R.color.card_background_grey));
  addRadioButtonLists(inflater);
  if (isEmpty) {
    TextView textView=new TextView(getActivity());
    textView.setText(getString(R.string.no_overlap_detected));
    textView.setGravity(Gravity.CENTER);
    textView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT));
    textView.setTextSize(TypedValue.COMPLEX_UNIT_DIP,18);
    return textView;
  }
  rootView.addView(mLinearLayout);
  SystemBarTintManager tintManager=new SystemBarTintManager(getActivity());
  int mPaddingBottom, mPaddingTop;
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
    mPaddingBottom=tintManager.getConfig().getNavigationBarHeight();
    mPaddingTop=tintManager.getConfig().getPixelInsetTop(true);
switch (getActivity().getResources().getConfiguration().orientation) {
case Configuration.ORIENTATION_UNDEFINED:
case Configuration.ORIENTATION_PORTRAIT:
      rootView.setPadding(rootView.getPaddingLeft(),rootView.getPaddingTop() + mPaddingTop,rootView.getPaddingRight(),rootView.getPaddingBottom());
    View bottomPaddingView=new View(getActivity());
  bottomPaddingView.setBackgroundColor(Color.TRANSPARENT);
bottomPaddingView.setLayoutParams(new AbsListView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,mPaddingBottom));
bottomPaddingView.setEnabled(false);
mLinearLayout.addView(bottomPaddingView);
break;
case Configuration.ORIENTATION_LANDSCAPE:
rootView.setPadding(rootView.getPaddingLeft(),rootView.getPaddingTop() + mPaddingTop,rootView.getPaddingRight() + mPaddingBottom,rootView.getPaddingBottom());
break;
}
}
return rootView;
}