Program: 199564
Project: 199564
Buggy source:
@Override public void handleMessage(Message msg){
  Console.log(Constants.DebugFlags.App.SystemUIHandshake,"String_Node_Str",msg);
  Context context=mContext.get();
  if (context == null)   return;
  if (msg.what == RecentsService.MSG_UPDATE_RECENTS_FOR_CONFIGURATION) {
    RecentsTaskLoader.initialize(context);
    RecentsConfiguration.reinitialize(context);
    try {
      Bundle data=msg.getData();
      Rect windowRect=(Rect)data.getParcelable("String_Node_Str");
      Rect systemInsets=(Rect)data.getParcelable("String_Node_Str");
      TaskStack stack=new TaskStack(context);
      TaskStackView tsv=new TaskStackView(context,stack);
      tsv.computeRects(windowRect.width(),windowRect.height() - systemInsets.top,0);
      tsv.boundScroll();
      TaskViewTransform transform=tsv.getStackTransform(0);
      Rect taskRect=new Rect(transform.rect);
      data.putParcelable("String_Node_Str",taskRect);
      Message reply=Message.obtain(null,RecentsService.MSG_UPDATE_RECENTS_FOR_CONFIGURATION,0,0);
      reply.setData(data);
      msg.replyTo.send(reply);
    }
 catch (    RemoteException re) {
      re.printStackTrace();
    }
  }
 else   if (msg.what == RecentsService.MSG_CLOSE_RECENTS) {
  }
 else   if (msg.what == RecentsService.MSG_TOGGLE_RECENTS) {
    Intent intent=new Intent(RecentsService.ACTION_TOGGLE_RECENTS_ACTIVITY);
    intent.setPackage(context.getPackageName());
    context.sendBroadcast(intent);
  }
}

Fixed version (ground truth):
@Override public void handleMessage(Message msg){
  Console.log(Constants.DebugFlags.App.SystemUIHandshake,"String_Node_Str",msg);
  Context context=mContext.get();
  if (context == null)   return;
  if (msg.what == RecentsService.MSG_UPDATE_RECENTS_FOR_CONFIGURATION) {
    RecentsTaskLoader.initialize(context);
    RecentsConfiguration.reinitialize(context);
    try {
      Bundle data=msg.getData();
      Rect windowRect=(Rect)data.getParcelable("String_Node_Str");
      Rect systemInsets=(Rect)data.getParcelable("String_Node_Str");
      TaskStack stack=new TaskStack(context);
      TaskStackView tsv=new TaskStackView(context,stack);
      tsv.computeRects(windowRect.width(),windowRect.height() - systemInsets.top,0);
      tsv.boundScroll();
      TaskViewTransform transform=tsv.getStackTransform(0);
      Rect taskRect=new Rect(transform.rect);
      data.putParcelable("String_Node_Str",taskRect);
      Message reply=Message.obtain(null,RecentsService.MSG_UPDATE_RECENTS_FOR_CONFIGURATION,0,0);
      reply.setData(data);
      msg.replyTo.send(reply);
    }
 catch (    RemoteException re) {
      re.printStackTrace();
    }
  }
 else   if (msg.what == RecentsService.MSG_CLOSE_RECENTS) {
  }
 else   if (msg.what == RecentsService.MSG_TOGGLE_RECENTS) {
    Intent intent=new Intent(RecentsService.ACTION_TOGGLE_RECENTS_ACTIVITY);
    intent.setPackage(context.getPackageName());
    context.sendBroadcast(intent);
    Console.logTraceTime(Constants.DebugFlags.App.TimeRecentsStartup,Constants.DebugFlags.App.TimeRecentsStartupKey,"String_Node_Str");
    Console.logTraceTime(Constants.DebugFlags.App.TimeRecentsLaunchTask,Constants.DebugFlags.App.TimeRecentsLaunchKey,"String_Node_Str");
  }
}