private void inqueueStubActivity(ActivityInfo ai,String realActivityClazz){
  if (ai.launchMode == ActivityInfo.LAUNCH_MULTIPLE)   return;
  if (mStubQueue == null)   return;
  int countForMode=STUB_ACTIVITIES_COUNT;
  int offset=(ai.launchMode - 1) * countForMode;
  for (int i=0; i < countForMode; i++) {
    String stubClazz=mStubQueue[i + offset];
    if (stubClazz != null && stubClazz.equals(realActivityClazz)) {
      mStubQueue[i + offset]=null;
      break;
    }
  }
}

private void inqueueStubActivity ( ActivityInfo ai , String realActivityClazz ) { if ( ai . launchMode == ActivityInfo . LAUNCH_MULTIPLE ) return ; if ( mStubQueue == null ) return ; int countForMode = STUB_ACTIVITIES_COUNT ; int offset = ( ai . launchMode - 1 ) * countForMode ; for ( int i = 0 ; i < countForMode ; i ++ ) { String stubClazz = mStubQueue [ i + offset ] ; if ( stubClazz != null && stubClazz . equals ( realActivityClazz ) ) { mStubQueue [ i + offset ] = null ; break ; } } }
unbind the stub activity from real activity
