private boolean j() { AppSession localAppSession = AppSession.a(this, false); int i = 0; if (localAppSession != null) { AppSession.LoginStatus localLoginStatus1 = localAppSession.i(); AppSession.LoginStatus localLoginStatus2 = AppSession.LoginStatus.STATUS_LOGGED_IN; i = 0; if (localLoginStatus1 == localLoginStatus2) i = 1; } return i; }
public static String a(Context paramContext, String paramString, int paramInt1, int paramInt2) { AppSession localAppSession = AppSession.b(paramContext, false); String str = null; if (localAppSession == null); while (true) { return str; str = localAppSession.a(paramContext, new PagesSearch(paramContext, null, localAppSession.b().sessionKey, paramString, paramInt1, paramInt2, null), 1001, 1020, null); } }
private void i(Activity paramActivity) { if (paramActivity.getClass().getAnnotation(AuthNotRequired.class) != null) ; while (true) { return; if ((AppSession.b(paramActivity, true) == null) || (!this.a.d())) { LoginActivity.b(paramActivity); continue; } } }
public View a( int paramInt1, int paramInt2, boolean paramBoolean, View paramView, ViewGroup paramViewGroup) { View localView = super.a(paramInt1, paramInt2, paramBoolean, paramView, paramViewGroup); if (PlatformFastTrack.a(this.g)) { FacebookProfile localFacebookProfile = (FacebookProfile) a(paramInt1, paramInt2); PlatformFastTrack.a( localView.findViewById(2131296492), AppSession.a(this.g, false).b().username, localFacebookProfile.mId, new String[] {"vnd.android.cursor.item/vnd.facebook.profile"}); } return localView; }
public void a(Bundle paramBundle) { this.s = true; this.u = ((FacebookPlace) getIntent().getParcelableExtra("extra_place")); this.p = this.u.mPageId; super.a(paramBundle); setContentView(2130903520); this.n = AppSession.a(this, true); if (getIntent().getBooleanExtra("within_tab", false)) findViewById(2131296299).setVisibility(8); l(); j(); this.t = new PlacesInfoAdapter(this); this.t.a(this.u); m().setAdapter(this.t); PlacesInfoActivity.ActivityBlob localActivityBlob = (PlacesInfoActivity.ActivityBlob) f_(); if (localActivityBlob != null) a(localActivityBlob.a); i(); }
public void a(AppSession paramAppSession, Context paramContext, Intent paramIntent, String paramString1, int paramInt, String paramString2, Exception paramException) { Iterator localIterator = paramAppSession.d().iterator(); while (localIterator.hasNext()) ((AppSessionListener)localIterator.next()).a(paramAppSession, paramString1, paramInt, paramString2, paramException, this.g); }
public void onResume() { super.onResume(); this.n = AppSession.a(this, true); }