protected void onCreate(Bundle bundle) { super.onCreate(bundle); initTitleBar(); this.lj = io(); if (this.lj == ViewType.UNKNOWN) { Log.e("YellowPageActivity", "unknown view type"); finish(); return; } ip(); if (!Permission.networkingAllowed(this) && !this.Lp) { startActivityForResult(Permission.createUserNoticeIntent(), 0); this.Lp = true; } }
protected void onStop() { super.onStop(); Permission.setNetworkingAllowedTemporarily(this, false); }