public final void a(Bundle bundle) { bundle = a; Object obj = String.valueOf(((aju) (bundle)).h); bundle.a( (new StringBuilder(String.valueOf(obj).length() + 31)) .append("setup message listener, state: ") .append(((String) (obj))) .toString()); boolean flag; if (((aju) (bundle)).h != aki.c) { flag = true; } else { flag = false; } if (!((aju) (bundle)).b.a("urn:x-cast:com.google.youtube.mdx", new ajz(bundle))) { bundle.a("can't set Cast message listener"); bundle.c(); return; } obj = new aut(); if (!((aju) (bundle)).f) { bundle.a("no session join, relaunch the current application even if running"); ((aut) (obj)).a.b = true; } obj = ((aut) (obj)).a; String s = ((aju) (bundle)).d; bundle.a( (new StringBuilder(String.valueOf(s).length() + 33)) .append("launch application ") .append(s) .append(", fling: ") .append(flag) .toString()); ((aju) (bundle)).b.a(((aju) (bundle)).d, ((LaunchOptions) (obj)), new ajy(bundle, flag)); }
protected void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); paramBundle = getIntent(); a = paramBundle.getLongExtra("task_id", -1L); Object localObject1; if (paramBundle.getBooleanExtra("resume_task", false)) { localObject1 = f.a(a); if ((localObject1 != null) && (d.i(n.getAbsolutePath()))) { paramBundle = new jh( this, paramBundle.getStringExtra("task_title"), (com.estrongs.a.a) localObject1, true, true); paramBundle.a(false); paramBundle.show(); paramBundle.setOnDismissListener(new lk(this)); } } int i; do { do { do { return; paramBundle = new jh( this, paramBundle.getStringExtra("task_title"), paramBundle.getStringExtra("task_source_names"), paramBundle.getStringExtra("count_info"), paramBundle.getStringExtra("source"), paramBundle.getStringExtra("target"), true); paramBundle.a(false); paramBundle.show(); paramBundle.setOnDismissListener(new lv(this)); return; if (a != -1L) { localObject1 = com.estrongs.a.a.getTask(a); if (localObject1 != null) { localObject2 = (com.estrongs.android.d.a) com.estrongs.android.d.a.a.get(Long.valueOf(a)); if ((paramBundle.getBooleanExtra("needAuth", false)) || (localObject2 != null)) { if (localObject2 != null) { ((com.estrongs.android.d.a) localObject2).dismiss(); com.estrongs.android.d.a.a.remove(Long.valueOf(a)); } paramBundle = (com.estrongs.a.a.c) ((com.estrongs.a.a) localObject1).getDecisionData(com.estrongs.a.a.c.class); localObject2 = new com.estrongs.android.d.a(this, a); ((com.estrongs.android.d.a) localObject2).setCancelable(false); ((com.estrongs.android.d.a) localObject2).a(8); ((com.estrongs.android.d.a) localObject2) .a(new lw(this, paramBundle, (com.estrongs.a.a) localObject1)); ((com.estrongs.android.d.a) localObject2) .setCancelButton( getString(2131231265), new lx(this, paramBundle, (com.estrongs.a.a) localObject1)); ((com.estrongs.android.d.a) localObject2).setOnDismissListener(new ly(this)); ((com.estrongs.android.d.a) localObject2).show(); com.estrongs.android.d.a.a.put(Long.valueOf(a), localObject2); return; } if (jh.d.get(Long.valueOf(a)) != null) { ((Dialog) jh.d.get(Long.valueOf(a))).show(); finish(); return; } if (com.estrongs.a.a.getTask(a) == null) { finish(); return; } paramBundle = new jh( this, paramBundle.getStringExtra("task_title"), com.estrongs.a.a.getTask(a), paramBundle.getBooleanExtra("creatreNotification", false)); paramBundle.a(false); paramBundle.setOnDismissListener(new lz(this)); paramBundle.show(); b = true; return; } if (paramBundle.getIntExtra("notification_id", -1) != -1) { ((NotificationManager) getSystemService("notification")) .cancel(paramBundle.getIntExtra("notification_id", -1)); } finish(); return; } if (!paramBundle.getBooleanExtra("openfileOrFolder", false)) { break; } a(paramBundle); } while (!getString(2131230847).equals(paramBundle.getStringExtra("title"))); d = com.estrongs.android.j.c.a(this); try { d.d("act3"); d.a("act3", "click_download_progress"); return; } catch (Exception paramBundle) { paramBundle.printStackTrace(); return; } if (paramBundle.getBooleanExtra("compress", false)) { if ((!FexApplication.a().toString().equals(paramBundle.getStringExtra("application"))) && (paramBundle.getIntExtra("notification_id", -1) != -1)) { ((NotificationManager) getSystemService("notification")) .cancel(paramBundle.getIntExtra("notification_id", -1)); } finish(); return; } if (paramBundle.getBooleanExtra("stop_ftp_server", false)) { a(); return; } if (paramBundle.getBooleanExtra("openApkFile", false)) { new j(this, i.b(paramBundle.getData().toString())).a(new ma(this)).a(); return; } } while (!paramBundle.getBooleanExtra("perm_update_dialog", false)); i = paramBundle.getIntExtra("version", 0); localObject1 = paramBundle.getStringExtra("url"); paramBundle = paramBundle.getStringExtra("market"); } while ((i == 0) || (localObject1 == null)); Object localObject2 = new kx(); a = ("" + i); b = paramBundle; c = new ArrayList(1); c.add(localObject1); paramBundle = new kq(this, 2, (kx) localObject2, 1, 2131231984); paramBundle.a(); paramBundle.a(new mb(this)); paramBundle.b(); }