Program: 179893
Project: 179893
Buggy source:
/** 
 * Finds all the views we need and configure them properly.
 */
private void setupViews(){
  DragController dragController=mDragController;
  DragLayer dragLayer=(DragLayer)findViewById(R.id.drag_layer);
  dragLayer.setDragController(dragController);
  mAllAppsGrid=(AllAppsView)dragLayer.findViewById(R.id.all_apps_view);
  mAllAppsGrid.setLauncher(this);
  mAllAppsGrid.setDragController(dragController);
  mAllAppsGrid.setWillNotDraw(false);
  mAllAppsGrid.setFocusable(false);
  mWorkspace=(Workspace)dragLayer.findViewById(R.id.workspace);
  final Workspace workspace=mWorkspace;
  DeleteZone deleteZone=(DeleteZone)dragLayer.findViewById(R.id.delete_zone);
  mDeleteZone=deleteZone;
  mHandleView=(HandleView)findViewById(R.id.all_apps_button);
  mHandleView.setLauncher(this);
  mHandleView.setOnClickListener(this);
  mPreviousView=(ImageView)dragLayer.findViewById(R.id.previous_screen);
  mNextView=(ImageView)dragLayer.findViewById(R.id.next_screen);
  Drawable previous=mPreviousView.getDrawable();
  Drawable next=mNextView.getDrawable();
  mWorkspace.setIndicators(previous,next);
  mPreviousView.setOnLongClickListener(this);
  mNextView.setOnLongClickListener(this);
  workspace.setOnLongClickListener(this);
  workspace.setDragController(dragController);
  workspace.setLauncher(this);
  deleteZone.setLauncher(this);
  deleteZone.setDragController(dragController);
  deleteZone.setHandle(mHandleView);
  dragController.setDragScoller(workspace);
  dragController.setDragListener(deleteZone);
  dragController.setScrollView(dragLayer);
  dragController.addDropTarget(workspace);
  dragController.addDropTarget(deleteZone);
}

Fixed version (ground truth):
/** 
 * Finds all the views we need and configure them properly.
 */
private void setupViews(){
  DragController dragController=mDragController;
  DragLayer dragLayer=(DragLayer)findViewById(R.id.drag_layer);
  dragLayer.setDragController(dragController);
  mAllAppsGrid=(AllAppsView)dragLayer.findViewById(R.id.all_apps_view);
  mAllAppsGrid.setLauncher(this);
  mAllAppsGrid.setDragController(dragController);
  mAllAppsGrid.setWillNotDraw(false);
  mAllAppsGrid.setFocusable(false);
  mWorkspace=(Workspace)dragLayer.findViewById(R.id.workspace);
  final Workspace workspace=mWorkspace;
  DeleteZone deleteZone=(DeleteZone)dragLayer.findViewById(R.id.delete_zone);
  mDeleteZone=deleteZone;
  mHandleView=(HandleView)findViewById(R.id.all_apps_button);
  mHandleView.setLauncher(this);
  mHandleView.setOnClickListener(this);
  mPreviousView=(ImageView)dragLayer.findViewById(R.id.previous_screen);
  mNextView=(ImageView)dragLayer.findViewById(R.id.next_screen);
  Drawable previous=mPreviousView.getDrawable();
  Drawable next=mNextView.getDrawable();
  mWorkspace.setIndicators(previous,next);
  mPreviousView.setHapticFeedbackEnabled(false);
  mPreviousView.setOnLongClickListener(this);
  mNextView.setHapticFeedbackEnabled(false);
  mNextView.setOnLongClickListener(this);
  workspace.setOnLongClickListener(this);
  workspace.setDragController(dragController);
  workspace.setLauncher(this);
  deleteZone.setLauncher(this);
  deleteZone.setDragController(dragController);
  deleteZone.setHandle(mHandleView);
  dragController.setDragScoller(workspace);
  dragController.setDragListener(deleteZone);
  dragController.setScrollView(dragLayer);
  dragController.addDropTarget(workspace);
  dragController.addDropTarget(deleteZone);
}