You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
3.4 KiB
132 lines
3.4 KiB
.class final Lcom/facebook/FacebookSdk$3; |
|
.super Ljava/lang/Object; |
|
.source "FacebookSdk.java" |
|
|
|
# interfaces |
|
.implements Ljava/util/concurrent/Callable; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/facebook/FacebookSdk;->sdkInitialize(Landroid/content/Context;Lcom/facebook/FacebookSdk$InitializeCallback;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x8 |
|
name = null |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/Signature; |
|
value = { |
|
"Ljava/lang/Object;", |
|
"Ljava/util/concurrent/Callable", |
|
"<", |
|
"Ljava/lang/Void;", |
|
">;" |
|
} |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic val$applicationContext:Landroid/content/Context; |
|
|
|
.field final synthetic val$callback:Lcom/facebook/FacebookSdk$InitializeCallback; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/facebook/FacebookSdk$InitializeCallback;Landroid/content/Context;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 300 |
|
iput-object p1, p0, Lcom/facebook/FacebookSdk$3;->val$callback:Lcom/facebook/FacebookSdk$InitializeCallback; |
|
|
|
iput-object p2, p0, Lcom/facebook/FacebookSdk$3;->val$applicationContext:Landroid/content/Context; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public bridge synthetic call()Ljava/lang/Object; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 300 |
|
invoke-virtual {p0}, Lcom/facebook/FacebookSdk$3;->call()Ljava/lang/Void; |
|
|
|
move-result-object v0 |
|
|
|
return-object v0 |
|
.end method |
|
|
|
.method public call()Ljava/lang/Void; |
|
.locals 1 |
|
|
|
.prologue |
|
.line 303 |
|
invoke-static {}, Lcom/facebook/AccessTokenManager;->getInstance()Lcom/facebook/AccessTokenManager; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/facebook/AccessTokenManager;->loadCurrentAccessToken()Z |
|
|
|
.line 304 |
|
invoke-static {}, Lcom/facebook/ProfileManager;->getInstance()Lcom/facebook/ProfileManager; |
|
|
|
move-result-object v0 |
|
|
|
invoke-virtual {v0}, Lcom/facebook/ProfileManager;->loadCurrentProfile()Z |
|
|
|
.line 305 |
|
invoke-static {}, Lcom/facebook/AccessToken;->getCurrentAccessToken()Lcom/facebook/AccessToken; |
|
|
|
move-result-object v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 306 |
|
invoke-static {}, Lcom/facebook/Profile;->getCurrentProfile()Lcom/facebook/Profile; |
|
|
|
move-result-object v0 |
|
|
|
if-nez v0, :cond_0 |
|
|
|
.line 309 |
|
invoke-static {}, Lcom/facebook/Profile;->fetchProfileForCurrentAccessToken()V |
|
|
|
.line 312 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/facebook/FacebookSdk$3;->val$callback:Lcom/facebook/FacebookSdk$InitializeCallback; |
|
|
|
if-eqz v0, :cond_1 |
|
|
|
.line 313 |
|
iget-object v0, p0, Lcom/facebook/FacebookSdk$3;->val$callback:Lcom/facebook/FacebookSdk$InitializeCallback; |
|
|
|
invoke-interface {v0}, Lcom/facebook/FacebookSdk$InitializeCallback;->onInitialized()V |
|
|
|
.line 317 |
|
:cond_1 |
|
iget-object v0, p0, Lcom/facebook/FacebookSdk$3;->val$applicationContext:Landroid/content/Context; |
|
|
|
.line 318 |
|
invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context; |
|
|
|
move-result-object v0 |
|
|
|
.line 317 |
|
invoke-static {v0}, Lcom/facebook/appevents/AppEventsLogger;->newLogger(Landroid/content/Context;)Lcom/facebook/appevents/AppEventsLogger; |
|
|
|
move-result-object v0 |
|
|
|
.line 318 |
|
invoke-virtual {v0}, Lcom/facebook/appevents/AppEventsLogger;->flush()V |
|
|
|
.line 320 |
|
const/4 v0, 0x0 |
|
|
|
return-object v0 |
|
.end method
|
|
|