public void onDestroy() { if (r != null) { B.b(r); B.b(r); B.b(r); } if (C != null) { C.a(); C = null; } q(); if (com.estrongs.android.pop.view.a.a.startsWith("Spreadtrum")) {} try { unregisterReceiver(K); unregisterReceiver(L); unregisterReceiver(M); super.onDestroy(); return; } catch (Exception localException) { for (;;) {} } }
public void onStop() { super.onStop(); if (!a()) { return; } try { v(); e = true; return; } catch (Exception localException) {} }
public void onResume() { super.onResume(); o(); i(); }
public void onPause() { super.onPause(); m(); }
public void onCreate(Bundle paramBundle) { super.onCreate(paramBundle); setDefaultKeyMode(2); getWindow().setFlags(2000, 1024); setContentView(2130903380); p = new kl(this, this); m = ((ESVideoView)findViewById(2131625376)); o = ((FrameLayout)findViewById(2131625377)); o.setOnClickListener(new km(this)); D = ((TextView)findViewById(2131625378)); D.setText(getString(2131232491) + getString(2131231155)); m.setMediaController(p); try { p.setEnabled(false); p.requestFocus(); m.setOnCompletionListener(new kn(this)); m.setOnErrorListener(new ko(this)); m.setOnPreparedListener(new jh(this)); m.setSeekListener(new ji(this)); u = getIntent().getData(); if ((ac.a() < 8) && (e())) { finish(); } for (;;) { return; t = 0; g = false; if (com.estrongs.android.pop.view.a.a.startsWith("Spreadtrum")) {} try { registerReceiver(K, new IntentFilter("android.intent.action.SCREEN_OFF")); registerReceiver(L, new IntentFilter("android.intent.action.USER_PRESENT")); registerReceiver(M, new IntentFilter("android.intent.action.ACTION_SHUTDOWN")); b = findViewById(2131624351); w = c.a(this); if (!getIntent().getBooleanExtra("islocalopen", false)) {} try { w.d("act3"); w.a("act3", "video_player"); x = findViewById(2131625379); y = ((TextView)x.findViewById(2131625380)); paramBundle = getIntent().getData(); v = a(paramBundle); if (v != null) { y.setText(ap.d(v)); } View localView = x; if (p.isShown()) { i1 = 0; localView.setVisibility(i1); d = x.findViewById(2131625031); d.setOnClickListener(new jj(this)); z = findViewById(2131624418); z.setOnClickListener(new jk(this)); findViewById(2131625030).setOnClickListener(new jl(this)); m.setVideoURI(paramBundle); if (n) { continue; } if (!getIntent().getBooleanExtra("Chromecast", false)) { break label648; } h(); if (getIntent().getStringExtra("ChromecastUrl") != null) { a(true); } if (!a()) { continue; } if (!p.isShown()) { f(); } new jm(this).start(); return; } } catch (Exception paramBundle) { for (;;) { paramBundle.printStackTrace(); continue; int i1 = 4; continue; label648: p(); r(); } } } catch (Exception paramBundle) { for (;;) {} } } } catch (Exception paramBundle) { for (;;) {} } }
public void onConfigurationChanged(Configuration paramConfiguration) { super.onConfigurationChanged(paramConfiguration); p.hide(); }