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;
       }
     }
   }
 }
 public void i() {
   if (l == null) {
     View localView = k.a(this).inflate(2130903185, null);
     cv localcv = new cv(this).a(2131231718).a(localView);
     ((Button) localView.findViewById(2131624536)).setOnClickListener(new eb(this));
     ((Button) localView.findViewById(2131624637)).setOnClickListener(new ec(this, localcv));
     Button localButton = (Button) localView.findViewById(2131624638);
     localButton.setOnClickListener(new ed(this, localcv));
     ((Button) localView.findViewById(2131624639)).setOnClickListener(new du(this, localcv));
     if (!z.D) {}
     for (; ; ) {
       l = localcv.c();
       return;
       localButton.setVisibility(8);
     }
   }
   l.show();
 }