f.smali
.class public Lio/openinstall/sdk/f;
.super Ljava/lang/Object;
# instance fields
.field private a:Ljava/util/concurrent/Future;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/Future<",
"Landroid/content/SharedPreferences;",
">;"
}
.end annotation
.end field
.field private final b:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Ljava/util/concurrent/Future;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/concurrent/Future<",
"Landroid/content/SharedPreferences;",
">;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, ""
iput-object v0, p0, Lio/openinstall/sdk/f;->b:Ljava/lang/String;
iput-object p1, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
return-void
.end method
# virtual methods
.method public a()Lio/openinstall/sdk/g;
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
const-string v1, "FM_config_data"
const-string v2, ""
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lio/openinstall/sdk/g;->b(Ljava/lang/String;)Lio/openinstall/sdk/g;
move-result-object v0
:try_end_14
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_14} :catch_17
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_14} :catch_15
return-object v0
:catch_15
move-exception v0
goto :goto_18
:catch_17
move-exception v0
:goto_18
new-instance v0, Lio/openinstall/sdk/g;
invoke-direct {v0}, Lio/openinstall/sdk/g;-><init>()V
return-object v0
.end method
.method public a(Ljava/lang/String;)Ljava/lang/String;
.registers 4
const-string v0, ""
:try_start_2
iget-object v1, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v1}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/content/SharedPreferences;
invoke-interface {v1, p1, v0}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
:try_end_e
.catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_e} :catch_11
.catch Ljava/util/concurrent/ExecutionException; {:try_start_2 .. :try_end_e} :catch_f
return-object p1
:catch_f
move-exception p1
goto :goto_12
:catch_11
move-exception p1
:goto_12
return-object v0
.end method
.method public a(Lio/openinstall/sdk/al;)V
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
:try_end_c
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_c} :catch_21
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_c} :catch_1f
const-string v1, "FM_pb_data"
if-nez p1, :cond_16
:try_start_10
const-string p1, ""
:goto_12
invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
goto :goto_1b
:cond_16
invoke-virtual {p1}, Lio/openinstall/sdk/al;->d()Ljava/lang/String;
move-result-object p1
goto :goto_12
:goto_1b
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_1e
.catch Ljava/lang/InterruptedException; {:try_start_10 .. :try_end_1e} :catch_21
.catch Ljava/util/concurrent/ExecutionException; {:try_start_10 .. :try_end_1e} :catch_1f
goto :goto_22
:catch_1f
move-exception p1
goto :goto_22
:catch_21
move-exception p1
:goto_22
return-void
.end method
.method public a(Lio/openinstall/sdk/g;)V
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
const-string v1, "FM_config_data"
invoke-virtual {p1}, Lio/openinstall/sdk/g;->i()Ljava/lang/String;
move-result-object p1
invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_18
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_18} :catch_1b
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_18} :catch_19
goto :goto_1c
:catch_19
move-exception p1
goto :goto_1c
:catch_1b
move-exception p1
:goto_1c
return-void
.end method
.method public a(Ljava/lang/String;J)V
.registers 5
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
invoke-interface {v0, p1, p2, p3}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_12
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_12} :catch_15
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_12} :catch_13
goto :goto_16
:catch_13
move-exception p1
goto :goto_16
:catch_15
move-exception p1
:goto_16
return-void
.end method
.method public a(Ljava/lang/String;Lio/openinstall/sdk/e;)V
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
invoke-virtual {p2}, Lio/openinstall/sdk/e;->a()I
move-result p2
invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_16
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_16} :catch_19
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_16} :catch_17
goto :goto_1a
:catch_17
move-exception p1
goto :goto_1a
:catch_19
move-exception p1
:goto_1a
return-void
.end method
.method public a(Ljava/lang/String;Ljava/lang/String;)V
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
invoke-interface {v0, p1, p2}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_12
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_12} :catch_15
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_12} :catch_13
goto :goto_16
:catch_13
move-exception p1
goto :goto_16
:catch_15
move-exception p1
:goto_16
return-void
.end method
.method public b(Ljava/lang/String;)J
.registers 5
const-wide/16 v0, 0x0
:try_start_2
iget-object v2, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v2}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/content/SharedPreferences;
invoke-interface {v2, p1, v0, v1}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
move-result-wide v0
:try_end_e
.catch Ljava/lang/InterruptedException; {:try_start_2 .. :try_end_e} :catch_11
.catch Ljava/util/concurrent/ExecutionException; {:try_start_2 .. :try_end_e} :catch_f
return-wide v0
:catch_f
move-exception p1
goto :goto_12
:catch_11
move-exception p1
:goto_12
return-wide v0
.end method
.method public b()Lio/openinstall/sdk/al;
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
const-string v1, "FM_pb_data"
const-string v2, ""
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lio/openinstall/sdk/al;->c(Ljava/lang/String;)Lio/openinstall/sdk/al;
move-result-object v0
:try_end_14
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_14} :catch_17
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_14} :catch_15
return-object v0
:catch_15
move-exception v0
goto :goto_18
:catch_17
move-exception v0
:goto_18
const/4 v0, 0x0
return-object v0
.end method
.method public c(Ljava/lang/String;)Lio/openinstall/sdk/e;
.registers 4
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
sget-object v1, Lio/openinstall/sdk/e;->a:Lio/openinstall/sdk/e;
invoke-virtual {v1}, Lio/openinstall/sdk/e;->a()I
move-result v1
invoke-interface {v0, p1, v1}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
move-result p1
invoke-static {p1}, Lio/openinstall/sdk/e;->a(I)Lio/openinstall/sdk/e;
move-result-object p1
:try_end_16
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_16} :catch_19
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_16} :catch_17
return-object p1
:catch_17
move-exception p1
goto :goto_1a
:catch_19
move-exception p1
:goto_1a
sget-object p1, Lio/openinstall/sdk/e;->a:Lio/openinstall/sdk/e;
return-object p1
.end method
.method public c()V
.registers 2
:try_start_0
iget-object v0, p0, Lio/openinstall/sdk/f;->a:Ljava/util/concurrent/Future;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/SharedPreferences;
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->clear()Landroid/content/SharedPreferences$Editor;
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->apply()V
:try_end_12
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_12} :catch_15
.catch Ljava/util/concurrent/ExecutionException; {:try_start_0 .. :try_end_12} :catch_13
goto :goto_16
:catch_13
move-exception v0
goto :goto_16
:catch_15
move-exception v0
:goto_16
return-void
.end method