Program: 198990
Project: 198990
Buggy source:
/** 
 * Called with the activity is first created. 
 */
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  if (Console.Enabled) {
    Console.logDivider(Constants.Log.App.SystemUIHandshake);
    Console.log(Constants.Log.App.SystemUIHandshake,"String_Node_Str",getIntent().getAction() + "String_Node_Str" + mVisible,Console.AnsiRed);
    Console.logTraceTime(Constants.Log.App.TimeRecentsStartup,Constants.Log.App.TimeRecentsStartupKey,"String_Node_Str");
  }
  RecentsTaskLoader.initialize(this);
  mConfig=RecentsConfiguration.reinitialize(this);
  Intent homeIntent=new Intent(Intent.ACTION_MAIN,null);
  homeIntent.addCategory(Intent.CATEGORY_HOME);
  homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
  mFinishLaunchHomeRunnable=new FinishRecentsRunnable(homeIntent,ActivityOptions.makeCustomAnimation(this,R.anim.recents_to_launcher_enter,R.anim.recents_to_launcher_exit));
  mAppWidgetHost=new RecentsAppWidgetHost(this,Constants.Values.App.AppWidgetHostId);
  setContentView(R.layout.recents);
  mRecentsView=(RecentsView)findViewById(R.id.recents_view);
  mRecentsView.setCallbacks(this);
  mRecentsView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
  mEmptyViewStub=(ViewStub)findViewById(R.id.empty_view_stub);
  mFullscreenOverlayStub=(ViewStub)findViewById(R.id.fullscreen_overlay_stub);
  mScrimViews=new SystemBarScrimViews(this,mConfig);
  updateRecentsTasks(getIntent());
  if (Constants.DebugFlags.App.EnableScreenshotAppTransition) {
    mFullScreenOverlayView=(FullscreenTransitionOverlayView)mFullscreenOverlayStub.inflate();
    mFullScreenOverlayView.setCallbacks(this);
    mFullScreenOverlayView.prepareAnimateOnEnterRecents(AlternateRecentsComponent.getLastScreenshot());
  }
  bindSearchBarAppWidget();
  addSearchBarAppWidgetView();
  if (savedInstanceState != null) {
    onConfigurationChange();
  }
  IntentFilter filter=new IntentFilter();
  filter.addAction(Intent.ACTION_SCREEN_OFF);
  filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED);
  registerReceiver(mSystemBroadcastReceiver,filter);
  RecentsTaskLoader.getInstance().registerReceivers(this,mRecentsView);
  try {
    Utilities.setShadowProperty("String_Node_Str",String.valueOf(35f));
    Utilities.setShadowProperty("String_Node_Str",String.valueOf(0.5f));
  }
 catch (  IllegalAccessException e) {
    e.printStackTrace();
  }
catch (  InvocationTargetException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
/** 
 * Called with the activity is first created. 
 */
@Override public void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  if (Console.Enabled) {
    Console.logDivider(Constants.Log.App.SystemUIHandshake);
    Console.log(Constants.Log.App.SystemUIHandshake,"String_Node_Str",getIntent().getAction() + "String_Node_Str" + mVisible,Console.AnsiRed);
    Console.logTraceTime(Constants.Log.App.TimeRecentsStartup,Constants.Log.App.TimeRecentsStartupKey,"String_Node_Str");
  }
  RecentsTaskLoader.initialize(this);
  mConfig=RecentsConfiguration.reinitialize(this);
  Intent homeIntent=new Intent(Intent.ACTION_MAIN,null);
  homeIntent.addCategory(Intent.CATEGORY_HOME);
  homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
  mFinishLaunchHomeRunnable=new FinishRecentsRunnable(homeIntent,ActivityOptions.makeCustomAnimation(this,R.anim.recents_to_launcher_enter,R.anim.recents_to_launcher_exit));
  mAppWidgetHost=new RecentsAppWidgetHost(this,Constants.Values.App.AppWidgetHostId);
  setContentView(R.layout.recents);
  mRecentsView=(RecentsView)findViewById(R.id.recents_view);
  mRecentsView.setCallbacks(this);
  mRecentsView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
  mEmptyViewStub=(ViewStub)findViewById(R.id.empty_view_stub);
  mFullscreenOverlayStub=(ViewStub)findViewById(R.id.fullscreen_overlay_stub);
  mScrimViews=new SystemBarScrimViews(this,mConfig);
  updateRecentsTasks(getIntent());
  bindSearchBarAppWidget();
  addSearchBarAppWidgetView();
  if (savedInstanceState != null) {
    onConfigurationChange();
  }
  IntentFilter filter=new IntentFilter();
  filter.addAction(Intent.ACTION_SCREEN_OFF);
  filter.addAction(SearchManager.INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED);
  registerReceiver(mSystemBroadcastReceiver,filter);
  RecentsTaskLoader.getInstance().registerReceivers(this,mRecentsView);
  try {
    Utilities.setShadowProperty("String_Node_Str",String.valueOf(35f));
    Utilities.setShadowProperty("String_Node_Str",String.valueOf(0.5f));
  }
 catch (  IllegalAccessException e) {
    e.printStackTrace();
  }
catch (  InvocationTargetException e) {
    e.printStackTrace();
  }
  if (Constants.DebugFlags.App.EnableScreenshotAppTransition) {
    mFullScreenOverlayView=(FullscreenTransitionOverlayView)mFullscreenOverlayStub.inflate();
    mFullScreenOverlayView.setCallbacks(this);
    mFullScreenOverlayView.prepareAnimateOnEnterRecents(AlternateRecentsComponent.getLastScreenshot());
  }
}