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.
91 lines
2.5 KiB
91 lines
2.5 KiB
.class Lcom/facebook/share/DeviceShareDialog$1; |
|
.super Ljava/lang/Object; |
|
.source "DeviceShareDialog.java" |
|
|
|
# interfaces |
|
.implements Lcom/facebook/internal/CallbackManagerImpl$Callback; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/facebook/share/DeviceShareDialog;->registerCallbackImpl(Lcom/facebook/internal/CallbackManagerImpl;Lcom/facebook/FacebookCallback;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/facebook/share/DeviceShareDialog; |
|
|
|
.field final synthetic val$callback:Lcom/facebook/FacebookCallback; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/facebook/share/DeviceShareDialog;Lcom/facebook/FacebookCallback;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 120 |
|
iput-object p1, p0, Lcom/facebook/share/DeviceShareDialog$1;->this$0:Lcom/facebook/share/DeviceShareDialog; |
|
|
|
iput-object p2, p0, Lcom/facebook/share/DeviceShareDialog$1;->val$callback:Lcom/facebook/FacebookCallback; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onActivityResult(ILandroid/content/Intent;)Z |
|
.locals 3 |
|
|
|
.prologue |
|
const/4 v2, 0x1 |
|
|
|
.line 123 |
|
const-string v0, "error" |
|
|
|
invoke-virtual {p2, v0}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 124 |
|
const-string v0, "error" |
|
|
|
invoke-virtual {p2, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/facebook/FacebookRequestError; |
|
|
|
.line 125 |
|
iget-object v1, p0, Lcom/facebook/share/DeviceShareDialog$1;->val$callback:Lcom/facebook/FacebookCallback; |
|
|
|
invoke-virtual {v0}, Lcom/facebook/FacebookRequestError;->getException()Lcom/facebook/FacebookException; |
|
|
|
move-result-object v0 |
|
|
|
invoke-interface {v1, v0}, Lcom/facebook/FacebookCallback;->onError(Lcom/facebook/FacebookException;)V |
|
|
|
.line 129 |
|
:goto_0 |
|
return v2 |
|
|
|
.line 128 |
|
:cond_0 |
|
iget-object v0, p0, Lcom/facebook/share/DeviceShareDialog$1;->val$callback:Lcom/facebook/FacebookCallback; |
|
|
|
new-instance v1, Lcom/facebook/share/DeviceShareDialog$Result; |
|
|
|
invoke-direct {v1}, Lcom/facebook/share/DeviceShareDialog$Result;-><init>()V |
|
|
|
invoke-interface {v0, v1}, Lcom/facebook/FacebookCallback;->onSuccess(Ljava/lang/Object;)V |
|
|
|
goto :goto_0 |
|
.end method
|
|
|