LikeActionController$PublishUnlikeRequestWrapper.smali
.class Lcom/facebook/share/internal/LikeActionController$PublishUnlikeRequestWrapper;
.super Lcom/facebook/share/internal/LikeActionController$AbstractRequestWrapper;
.source "LikeActionController.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/share/internal/LikeActionController;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2
name = "PublishUnlikeRequestWrapper"
.end annotation
# instance fields
.field final synthetic this$0:Lcom/facebook/share/internal/LikeActionController;
.field private unlikeToken:Ljava/lang/String;
# direct methods
.method constructor <init>(Lcom/facebook/share/internal/LikeActionController;Ljava/lang/String;)V
.registers 6
.line 1449
iput-object p1, p0, Lcom/facebook/share/internal/LikeActionController$PublishUnlikeRequestWrapper;->this$0:Lcom/facebook/share/internal/LikeActionController;
const/4 v0, 0x0
.line 1450
invoke-direct {p0, p1, v0, v0}, Lcom/facebook/share/internal/LikeActionController$AbstractRequestWrapper;-><init>(Lcom/facebook/share/internal/LikeActionController;Ljava/lang/String;Lcom/facebook/share/widget/LikeView$ObjectType;)V
.line 1452
iput-object p2, p0, Lcom/facebook/share/internal/LikeActionController$PublishUnlikeRequestWrapper;->unlikeToken:Ljava/lang/String;
.line 1454
new-instance p1, Lcom/facebook/GraphRequest;
.line 1455
invoke-static {}, Lcom/facebook/AccessToken;->getCurrentAccessToken()Lcom/facebook/AccessToken;
move-result-object v1
sget-object v2, Lcom/facebook/HttpMethod;->DELETE:Lcom/facebook/HttpMethod;
invoke-direct {p1, v1, p2, v0, v2}, Lcom/facebook/GraphRequest;-><init>(Lcom/facebook/AccessToken;Ljava/lang/String;Landroid/os/Bundle;Lcom/facebook/HttpMethod;)V
.line 1454
invoke-virtual {p0, p1}, Lcom/facebook/share/internal/LikeActionController$PublishUnlikeRequestWrapper;->setRequest(Lcom/facebook/GraphRequest;)V
return-void
.end method
# virtual methods
.method protected processError(Lcom/facebook/FacebookRequestError;)V
.registers 7
.line 1467
sget-object v0, Lcom/facebook/LoggingBehavior;->REQUESTS:Lcom/facebook/LoggingBehavior;
.line 1468
# getter for: Lcom/facebook/share/internal/LikeActionController;->TAG:Ljava/lang/String;
invoke-static {}, Lcom/facebook/share/internal/LikeActionController;->access$100()Ljava/lang/String;
move-result-object v1
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Object;
iget-object v3, p0, Lcom/facebook/share/internal/LikeActionController$PublishUnlikeRequestWrapper;->unlikeToken:Ljava/lang/String;
const/4 v4, 0x0
aput-object v3, v2, v4
const/4 v3, 0x1
aput-object p1, v2, v3
const-string v3, "Error unliking object with unlike token \'%s\' : %s"
.line 1467
invoke-static {v0, v1, v3, v2}, Lcom/facebook/internal/Logger;->log(Lcom/facebook/LoggingBehavior;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
.line 1470
iget-object v0, p0, Lcom/facebook/share/internal/LikeActionController$PublishUnlikeRequestWrapper;->this$0:Lcom/facebook/share/internal/LikeActionController;
const-string v1, "publish_unlike"
# invokes: Lcom/facebook/share/internal/LikeActionController;->logAppEventForError(Ljava/lang/String;Lcom/facebook/FacebookRequestError;)V
invoke-static {v0, v1, p1}, Lcom/facebook/share/internal/LikeActionController;->access$2400(Lcom/facebook/share/internal/LikeActionController;Ljava/lang/String;Lcom/facebook/FacebookRequestError;)V
return-void
.end method
.method protected processSuccess(Lcom/facebook/GraphResponse;)V
.registers 2
return-void
.end method