ShareContentValidation$WebShareValidator.smali
.class Lcom/facebook/share/internal/ShareContentValidation$WebShareValidator;
.super Lcom/facebook/share/internal/ShareContentValidation$Validator;
.source "ShareContentValidation.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/share/internal/ShareContentValidation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0xa
name = "WebShareValidator"
.end annotation
# direct methods
.method private constructor <init>()V
.registers 2
const/4 v0, 0x0
.line 1
invoke-direct {p0, v0}, Lcom/facebook/share/internal/ShareContentValidation$Validator;-><init>(Lcom/facebook/share/internal/ShareContentValidation$1;)V
return-void
.end method
.method synthetic constructor <init>(Lcom/facebook/share/internal/ShareContentValidation$1;)V
.registers 2
.line 2
invoke-direct {p0}, Lcom/facebook/share/internal/ShareContentValidation$WebShareValidator;-><init>()V
return-void
.end method
# virtual methods
.method public validate(Lcom/facebook/share/model/ShareMediaContent;)V
.registers 3
.line 2
new-instance p1, Lcom/facebook/FacebookException;
const-string v0, "Cannot share ShareMediaContent via web sharing dialogs"
invoke-direct {p1, v0}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public validate(Lcom/facebook/share/model/SharePhoto;)V
.registers 2
.line 3
# invokes: Lcom/facebook/share/internal/ShareContentValidation;->validatePhotoForWebDialog(Lcom/facebook/share/model/SharePhoto;Lcom/facebook/share/internal/ShareContentValidation$Validator;)V
invoke-static {p1, p0}, Lcom/facebook/share/internal/ShareContentValidation;->access$500(Lcom/facebook/share/model/SharePhoto;Lcom/facebook/share/internal/ShareContentValidation$Validator;)V
return-void
.end method
.method public validate(Lcom/facebook/share/model/ShareVideoContent;)V
.registers 3
.line 1
new-instance p1, Lcom/facebook/FacebookException;
const-string v0, "Cannot share ShareVideoContent via web sharing dialogs"
invoke-direct {p1, v0}, Lcom/facebook/FacebookException;-><init>(Ljava/lang/String;)V
throw p1
.end method