Program: 198995
Project: 198995
Buggy source:
/** 
 * Private Constructor 
 */
private RecentsTaskLoader(Context context){
  int maxMemory=(int)(Runtime.getRuntime().maxMemory() / 1024);
  mMaxThumbnailCacheSize=maxMemory / 8;
  mMaxIconCacheSize=mMaxThumbnailCacheSize / 4;
  int iconCacheSize=Constants.DebugFlags.App.DisableBackgroundCache ? 1 : mMaxIconCacheSize;
  int thumbnailCacheSize=Constants.DebugFlags.App.DisableBackgroundCache ? 1 : mMaxThumbnailCacheSize;
  if (Console.Enabled) {
    Console.log(Constants.Log.App.TaskDataLoader,"String_Node_Str","String_Node_Str" + thumbnailCacheSize + "String_Node_Str"+ iconCacheSize);
  }
  mSystemServicesProxy=new SystemServicesProxy(context);
  mPackageMonitor=new RecentsPackageMonitor();
  mLoadQueue=new TaskResourceLoadQueue();
  mApplicationIconCache=new DrawableLruCache(iconCacheSize);
  mThumbnailCache=new BitmapLruCache(thumbnailCacheSize);
  mLoader=new TaskResourceLoader(mLoadQueue,mApplicationIconCache,mThumbnailCache,mDefaultThumbnail);
  Bitmap icon=Bitmap.createBitmap(1,1,Bitmap.Config.ARGB_8888);
  icon.eraseColor(0x00000000);
  mDefaultThumbnail=Bitmap.createBitmap(1,1,Bitmap.Config.ARGB_8888);
  mDefaultThumbnail.eraseColor(0xFFffffff);
  mLoadingThumbnail=Bitmap.createBitmap(1,1,Bitmap.Config.ARGB_8888);
  mLoadingThumbnail.eraseColor(0x00000000);
  mDefaultApplicationIcon=new BitmapDrawable(context.getResources(),icon);
  if (Console.Enabled) {
    Console.log(Constants.Log.App.TaskDataLoader,"String_Node_Str","String_Node_Str" + mDefaultApplicationIcon + "String_Node_Str"+ mDefaultThumbnail,Console.AnsiRed);
  }
}

Fixed version (ground truth):
/** 
 * Private Constructor 
 */
private RecentsTaskLoader(Context context){
  int maxMemory=(int)(Runtime.getRuntime().maxMemory() / 1024);
  mMaxThumbnailCacheSize=maxMemory / 8;
  mMaxIconCacheSize=mMaxThumbnailCacheSize / 4;
  int iconCacheSize=Constants.DebugFlags.App.DisableBackgroundCache ? 1 : mMaxIconCacheSize;
  int thumbnailCacheSize=Constants.DebugFlags.App.DisableBackgroundCache ? 1 : mMaxThumbnailCacheSize;
  if (Console.Enabled) {
    Console.log(Constants.Log.App.TaskDataLoader,"String_Node_Str","String_Node_Str" + thumbnailCacheSize + "String_Node_Str"+ iconCacheSize);
  }
  Bitmap icon=Bitmap.createBitmap(1,1,Bitmap.Config.ARGB_8888);
  icon.eraseColor(0x00000000);
  mDefaultThumbnail=Bitmap.createBitmap(1,1,Bitmap.Config.ARGB_8888);
  mDefaultThumbnail.setHasAlpha(false);
  mDefaultThumbnail.eraseColor(0xFFffffff);
  mLoadingThumbnail=Bitmap.createBitmap(1,1,Bitmap.Config.ARGB_8888);
  mLoadingThumbnail.setHasAlpha(false);
  mLoadingThumbnail.eraseColor(0xFFffffff);
  mDefaultApplicationIcon=new BitmapDrawable(context.getResources(),icon);
  mSystemServicesProxy=new SystemServicesProxy(context);
  mPackageMonitor=new RecentsPackageMonitor();
  mLoadQueue=new TaskResourceLoadQueue();
  mApplicationIconCache=new DrawableLruCache(iconCacheSize);
  mThumbnailCache=new BitmapLruCache(thumbnailCacheSize);
  mLoader=new TaskResourceLoader(mLoadQueue,mApplicationIconCache,mThumbnailCache,mDefaultThumbnail);
  if (Console.Enabled) {
    Console.log(Constants.Log.App.TaskDataLoader,"String_Node_Str","String_Node_Str" + mDefaultApplicationIcon + "String_Node_Str"+ mDefaultThumbnail,Console.AnsiRed);
  }
}