private void a(Intent paramIntent) {
   boolean bool2 = false;
   String str = paramIntent.getData().toString();
   ci localci = new ci(this);
   localci.setTitle(paramIntent.getStringExtra("title"));
   localci.setMessage(paramIntent.getStringExtra("message"));
   localci.setOnDismissListener(new mc(this));
   if (str == null) {
     return;
   }
   for (; ; ) {
     boolean bool1;
     try {
       boolean bool3 = paramIntent.getBooleanExtra("pathIsDir", false);
       bool1 = bool3;
       if (bool3) {
         break label242;
       }
       bool1 = str.endsWith("/");
     } catch (Exception paramIntent) {
       paramIntent.printStackTrace();
       return;
     }
     if ((bool2) && (!ap.bm(str))) {
       localci.setConfirmButton(getString(2131231886), new ll(this, str, localci));
       localci.setCancelButton(getString(2131231887), new ln(this, str));
       localci.show();
       return;
     }
     paramIntent = new lo(this, str, bool2);
     if ((ap.aL(str)) && (u.a().c())) {
       localci.setConfirmButton(getString(2131231887), paramIntent);
       localci.setCancelButton(getString(2131231940), new lp(this, localci));
     } else {
       localci.setSingleButton(getString(2131231887), paramIntent);
       continue;
       label242:
       if (!bool1) {
         bool2 = true;
       }
     }
   }
 }