protected static void loadLaunchableBundles(Small.OnCompleteListener listener){
  Context context=Small.getContext();
  boolean synchronous=(listener == null);
  if (synchronous) {
    sLoading=true;
  }
  if (sThread == null) {
    sThread=new LoadBundleThread(context);
    sHandler=new LoadBundleHandler(listener);
    sThread.start();
  }
  if (synchronous) {
    while (sLoading) {
      try {
        Thread.sleep(100);
      }
 catch (      InterruptedException e) {
        e.printStackTrace();
      }
    }
    if (sUIActions != null) {
      for (      Runnable action : sUIActions) {
        action.run();
      }
      sUIActions=null;
    }
  }
}

protected static void loadLaunchableBundles ( Small . OnCompleteListener listener ) { Context context = Small . getContext ( ) ; boolean synchronous = ( listener == null ) ; if ( synchronous ) { sLoading = true ; } if ( sThread == null ) { sThread = new LoadBundleThread ( context ) ; sHandler = new LoadBundleHandler ( listener ) ; sThread . start ( ) ; } if ( synchronous ) { while ( sLoading ) { try { Thread . sleep ( 100 ) ; } catch ( InterruptedException e ) { e . printStackTrace ( ) ; } } if ( sUIActions != null ) { for ( Runnable action : sUIActions ) { action . run ( ) ; } sUIActions = null ; } } }
load bundles from manifest
