Program: 8693
Project: 8693
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  requestWindowFeature(Window.FEATURE_NO_TITLE);
  super.onCreate(savedInstanceState);
  startService(new Intent(this,ApplicationService.class));
  setContentView(R.layout.activity_main);
  Toolbar toolbar=(Toolbar)findViewById(R.id.toolbar);
  setSupportActionBar(toolbar);
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
    Window w=getWindow();
    w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS,WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
    toolbar.setPadding(0,48,0,0);
  }
  SharedPreferences prefs=PreferenceManager.getDefaultSharedPreferences(this);
  String key=prefs.getString("String_Node_Str","String_Node_Str");
  int theme=R.style.LightTheme;
  if (key.equals("String_Node_Str")) {
    theme=R.style.LightTheme;
  }
 else   if (key.equals("String_Node_Str")) {
    theme=R.style.DarkTheme;
  }
  setTheme(theme);
  toolbar.setBackgroundColor(getResources().getColor(R.color.first_row_background_color));
  RecyclerView navigation=(RecyclerView)findViewById(R.id.navigation_view);
  navigation.setHasFixedSize(true);
  DrawerAdapter adapter=new DrawerAdapter(this,this);
  navigation.setAdapter(adapter);
  RecyclerView.LayoutManager layoutManager=new LinearLayoutManager(this);
  navigation.setLayoutManager(layoutManager);
  drawerLayout=(DrawerLayout)findViewById(R.id.drawer);
  final View appMainView=findViewById(R.id.app_main_layout);
  ActionBarDrawerToggle drawerToggle=new ActionBarDrawerToggle(this,drawerLayout,toolbar,R.string.openDrawer,R.string.closeDrawer){
    int slidingDirection=+1;
{
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        if (isRTL())         slidingDirection=-1;
      }
    }
    @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) private boolean isRTL(){
      return getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
    }
    @Override public void onDrawerOpened(    View drawerView){
      super.onDrawerOpened(drawerView);
    }
    @Override public void onDrawerClosed(    View drawerView){
      super.onDrawerClosed(drawerView);
    }
    @Override public void onDrawerSlide(    View drawerView,    float slideOffset){
      super.onDrawerSlide(drawerView,slideOffset);
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        slidingAnimation(drawerView,slideOffset);
      }
    }
    @TargetApi(Build.VERSION_CODES.HONEYCOMB) private void slidingAnimation(    View drawerView,    float slideOffset){
      appMainView.setTranslationX(slideOffset * drawerView.getWidth() * slidingDirection);
      drawerLayout.bringChildToFront(drawerView);
      drawerLayout.requestLayout();
    }
  }
;
  drawerLayout.setDrawerListener(drawerToggle);
  drawerToggle.syncState();
  FragmentManager manager=getSupportFragmentManager();
  FragmentTransaction transaction=manager.beginTransaction();
  transaction.replace(R.id.fragment_holder,new CalendarFragment());
  transaction.commit();
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  requestWindowFeature(Window.FEATURE_NO_TITLE);
  super.onCreate(savedInstanceState);
  startService(new Intent(this,ApplicationService.class));
  setContentView(R.layout.activity_main);
  Toolbar toolbar=(Toolbar)findViewById(R.id.toolbar);
  setSupportActionBar(toolbar);
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
    Window w=getWindow();
    w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS,WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
    toolbar.setPadding(0,48,0,0);
  }
  SharedPreferences prefs=PreferenceManager.getDefaultSharedPreferences(this);
  String key=prefs.getString("String_Node_Str","String_Node_Str");
  int theme=R.style.LightTheme;
  if (key.equals("String_Node_Str")) {
    theme=R.style.LightTheme;
  }
 else   if (key.equals("String_Node_Str")) {
    theme=R.style.DarkTheme;
  }
  setTheme(theme);
  toolbar.setBackgroundColor(getResources().getColor(R.color.first_row_background_color));
  RecyclerView navigation=(RecyclerView)findViewById(R.id.navigation_view);
  navigation.setHasFixedSize(true);
  DrawerAdapter adapter=new DrawerAdapter(this,this);
  navigation.setAdapter(adapter);
  RecyclerView.LayoutManager layoutManager=new LinearLayoutManager(this);
  navigation.setLayoutManager(layoutManager);
  drawerLayout=(DrawerLayout)findViewById(R.id.drawer);
  final View appMainView=findViewById(R.id.app_main_layout);
  ActionBarDrawerToggle drawerToggle=new ActionBarDrawerToggle(this,drawerLayout,toolbar,R.string.openDrawer,R.string.closeDrawer){
    int slidingDirection=+1;
{
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
        if (isRTL())         slidingDirection=-1;
      }
    }
    @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1) private boolean isRTL(){
      return getResources().getConfiguration().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL;
    }
    @Override public void onDrawerOpened(    View drawerView){
      super.onDrawerOpened(drawerView);
    }
    @Override public void onDrawerClosed(    View drawerView){
      super.onDrawerClosed(drawerView);
    }
    @Override public void onDrawerSlide(    View drawerView,    float slideOffset){
      super.onDrawerSlide(drawerView,slideOffset);
      if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
        slidingAnimation(drawerView,slideOffset);
      }
    }
    @TargetApi(Build.VERSION_CODES.HONEYCOMB) private void slidingAnimation(    View drawerView,    float slideOffset){
      appMainView.setTranslationX(slideOffset * drawerView.getWidth() * slidingDirection);
      drawerLayout.bringChildToFront(drawerView);
      drawerLayout.requestLayout();
    }
  }
;
  drawerLayout.setDrawerListener(drawerToggle);
  drawerToggle.syncState();
  FragmentManager manager=getSupportFragmentManager();
  FragmentTransaction transaction=manager.beginTransaction();
  transaction.replace(R.id.fragment_holder,new CalendarFragment());
  transaction.commit();
}