今奥全景相机
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.

118 lines
2.5 KiB

.class final Lcom/facebook/Profile$1;
.super Ljava/lang/Object;
.source "Profile.java"
# interfaces
.implements Lcom/facebook/internal/Utility$GraphMeRequestWithCacheCallback;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/facebook/Profile;->fetchProfileForCurrentAccessToken()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# direct methods
.method constructor <init>()V
.locals 0
.prologue
.line 86
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onFailure(Lcom/facebook/FacebookException;)V
.locals 0
.prologue
.line 107
return-void
.end method
.method public onSuccess(Lorg/json/JSONObject;)V
.locals 7
.prologue
.line 89
const-string v0, "id"
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
.line 90
if-nez v1, :cond_0
.line 103
:goto_0
return-void
.line 93
:cond_0
const-string v0, "link"
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
.line 94
new-instance v0, Lcom/facebook/Profile;
const-string v2, "first_name"
.line 96
invoke-virtual {p1, v2}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
const-string v3, "middle_name"
.line 97
invoke-virtual {p1, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
const-string v4, "last_name"
.line 98
invoke-virtual {p1, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
const-string v5, "name"
.line 99
invoke-virtual {p1, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
if-eqz v6, :cond_1
.line 100
invoke-static {v6}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
move-result-object v6
:goto_1
invoke-direct/range {v0 .. v6}, Lcom/facebook/Profile;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V
.line 102
invoke-static {v0}, Lcom/facebook/Profile;->setCurrentProfile(Lcom/facebook/Profile;)V
goto :goto_0
.line 100
:cond_1
const/4 v6, 0x0
goto :goto_1
.end method