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

325 lines
8.3 KiB

.class public final Lcom/facebook/internal/FetchedAppSettings;
.super Ljava/lang/Object;
.source "FetchedAppSettings.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/internal/FetchedAppSettings$DialogFeatureConfig;
}
.end annotation
# instance fields
.field private automaticLoggingEnabled:Z
.field private customTabsEnabled:Z
.field private dialogConfigMap:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Lcom/facebook/internal/FetchedAppSettings$DialogFeatureConfig;",
">;>;"
}
.end annotation
.end field
.field private errorClassification:Lcom/facebook/internal/FacebookRequestErrorClassification;
.field private nuxContent:Ljava/lang/String;
.field private nuxEnabled:Z
.field private sessionTimeoutInSeconds:I
.field private smartLoginBookmarkIconURL:Ljava/lang/String;
.field private smartLoginMenuIconURL:Ljava/lang/String;
.field private smartLoginOptions:Ljava/util/EnumSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/EnumSet",
"<",
"Lcom/facebook/internal/SmartLoginOption;",
">;"
}
.end annotation
.end field
.field private supportsImplicitLogging:Z
# direct methods
.method public constructor <init>(ZLjava/lang/String;ZZILjava/util/EnumSet;Ljava/util/Map;ZLcom/facebook/internal/FacebookRequestErrorClassification;Ljava/lang/String;Ljava/lang/String;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z",
"Ljava/lang/String;",
"ZZI",
"Ljava/util/EnumSet",
"<",
"Lcom/facebook/internal/SmartLoginOption;",
">;",
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Lcom/facebook/internal/FetchedAppSettings$DialogFeatureConfig;",
">;>;Z",
"Lcom/facebook/internal/FacebookRequestErrorClassification;",
"Ljava/lang/String;",
"Ljava/lang/String;",
")V"
}
.end annotation
.prologue
.line 60
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 61
iput-boolean p1, p0, Lcom/facebook/internal/FetchedAppSettings;->supportsImplicitLogging:Z
.line 62
iput-object p2, p0, Lcom/facebook/internal/FetchedAppSettings;->nuxContent:Ljava/lang/String;
.line 63
iput-boolean p3, p0, Lcom/facebook/internal/FetchedAppSettings;->nuxEnabled:Z
.line 64
iput-boolean p4, p0, Lcom/facebook/internal/FetchedAppSettings;->customTabsEnabled:Z
.line 65
iput-object p7, p0, Lcom/facebook/internal/FetchedAppSettings;->dialogConfigMap:Ljava/util/Map;
.line 66
iput-object p9, p0, Lcom/facebook/internal/FetchedAppSettings;->errorClassification:Lcom/facebook/internal/FacebookRequestErrorClassification;
.line 67
iput p5, p0, Lcom/facebook/internal/FetchedAppSettings;->sessionTimeoutInSeconds:I
.line 68
iput-boolean p8, p0, Lcom/facebook/internal/FetchedAppSettings;->automaticLoggingEnabled:Z
.line 69
iput-object p6, p0, Lcom/facebook/internal/FetchedAppSettings;->smartLoginOptions:Ljava/util/EnumSet;
.line 70
iput-object p10, p0, Lcom/facebook/internal/FetchedAppSettings;->smartLoginBookmarkIconURL:Ljava/lang/String;
.line 71
iput-object p11, p0, Lcom/facebook/internal/FetchedAppSettings;->smartLoginMenuIconURL:Ljava/lang/String;
.line 72
return-void
.end method
.method public static getDialogFeatureConfig(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/facebook/internal/FetchedAppSettings$DialogFeatureConfig;
.locals 2
.prologue
const/4 v1, 0x0
.line 223
invoke-static {p1}, Lcom/facebook/internal/Utility;->isNullOrEmpty(Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_0
invoke-static {p2}, Lcom/facebook/internal/Utility;->isNullOrEmpty(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_1
:cond_0
move-object v0, v1
.line 236
:goto_0
return-object v0
.line 228
:cond_1
invoke-static {p0}, Lcom/facebook/internal/FetchedAppSettingsManager;->getAppSettingsWithoutQuery(Ljava/lang/String;)Lcom/facebook/internal/FetchedAppSettings;
move-result-object v0
.line 229
if-eqz v0, :cond_2
.line 231
invoke-virtual {v0}, Lcom/facebook/internal/FetchedAppSettings;->getDialogConfigurations()Ljava/util/Map;
move-result-object v0
invoke-interface {v0, p1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map;
.line 232
if-eqz v0, :cond_2
.line 233
invoke-interface {v0, p2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/internal/FetchedAppSettings$DialogFeatureConfig;
goto :goto_0
:cond_2
move-object v0, v1
.line 236
goto :goto_0
.end method
# virtual methods
.method public getAutomaticLoggingEnabled()Z
.locals 1
.prologue
.line 95
iget-boolean v0, p0, Lcom/facebook/internal/FetchedAppSettings;->automaticLoggingEnabled:Z
return v0
.end method
.method public getCustomTabsEnabled()Z
.locals 1
.prologue
.line 87
iget-boolean v0, p0, Lcom/facebook/internal/FetchedAppSettings;->customTabsEnabled:Z
return v0
.end method
.method public getDialogConfigurations()Ljava/util/Map;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Ljava/util/Map",
"<",
"Ljava/lang/String;",
"Lcom/facebook/internal/FetchedAppSettings$DialogFeatureConfig;",
">;>;"
}
.end annotation
.prologue
.line 103
iget-object v0, p0, Lcom/facebook/internal/FetchedAppSettings;->dialogConfigMap:Ljava/util/Map;
return-object v0
.end method
.method public getErrorClassification()Lcom/facebook/internal/FacebookRequestErrorClassification;
.locals 1
.prologue
.line 107
iget-object v0, p0, Lcom/facebook/internal/FetchedAppSettings;->errorClassification:Lcom/facebook/internal/FacebookRequestErrorClassification;
return-object v0
.end method
.method public getNuxContent()Ljava/lang/String;
.locals 1
.prologue
.line 79
iget-object v0, p0, Lcom/facebook/internal/FetchedAppSettings;->nuxContent:Ljava/lang/String;
return-object v0
.end method
.method public getNuxEnabled()Z
.locals 1
.prologue
.line 83
iget-boolean v0, p0, Lcom/facebook/internal/FetchedAppSettings;->nuxEnabled:Z
return v0
.end method
.method public getSessionTimeoutInSeconds()I
.locals 1
.prologue
.line 91
iget v0, p0, Lcom/facebook/internal/FetchedAppSettings;->sessionTimeoutInSeconds:I
return v0
.end method
.method public getSmartLoginBookmarkIconURL()Ljava/lang/String;
.locals 1
.prologue
.line 110
iget-object v0, p0, Lcom/facebook/internal/FetchedAppSettings;->smartLoginBookmarkIconURL:Ljava/lang/String;
return-object v0
.end method
.method public getSmartLoginMenuIconURL()Ljava/lang/String;
.locals 1
.prologue
.line 111
iget-object v0, p0, Lcom/facebook/internal/FetchedAppSettings;->smartLoginMenuIconURL:Ljava/lang/String;
return-object v0
.end method
.method public getSmartLoginOptions()Ljava/util/EnumSet;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/EnumSet",
"<",
"Lcom/facebook/internal/SmartLoginOption;",
">;"
}
.end annotation
.prologue
.line 99
iget-object v0, p0, Lcom/facebook/internal/FetchedAppSettings;->smartLoginOptions:Ljava/util/EnumSet;
return-object v0
.end method
.method public supportsImplicitLogging()Z
.locals 1
.prologue
.line 75
iget-boolean v0, p0, Lcom/facebook/internal/FetchedAppSettings;->supportsImplicitLogging:Z
return v0
.end method