.class public final Lcom/fyber/inneractive/sdk/config/global/m; .super Ljava/lang/Object; .source "SourceFile" # interfaces .implements Lcom/fyber/inneractive/sdk/cache/a; # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lcom/fyber/inneractive/sdk/cache/a<", "Lcom/fyber/inneractive/sdk/config/global/l;", ">;" } .end annotation # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final a(Ljava/lang/String;)Ljava/lang/Object; .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Exception; } .end annotation .line 2 :try_start_0 new-instance v0, Lorg/json/JSONObject; invoke-direct {v0, p1}, Lorg/json/JSONObject;->(Ljava/lang/String;)V .line 3 invoke-static {v0}, Lcom/fyber/inneractive/sdk/config/global/l;->a(Lorg/json/JSONObject;)Lcom/fyber/inneractive/sdk/config/global/l; move-result-object p1 :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 return-object p1 :catch_0 move-exception p1 const/4 v0, 0x0 new-array v0, v0, [Ljava/lang/Object; const-string v1, "internal error while parsing remote features config file" .line 5 invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->b(Ljava/lang/String;[Ljava/lang/Object;)V .line 7 sget v0, Lcom/fyber/inneractive/sdk/util/IAlog;->a:I const/4 v1, 0x5 if-gt v0, v1, :cond_0 .line 8 invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V .line 11 :cond_0 throw p1 .end method .method public final a()Ljava/lang/String; .locals 1 .line 0 const-string v0, "IALastModifiedFromHeader.remote" return-object v0 .end method .method public final bridge synthetic a(Ljava/lang/Object;)V .locals 0 .line 1 check-cast p1, Lcom/fyber/inneractive/sdk/config/global/l; return-void .end method .method public final b()Ljava/lang/String; .locals 1 const-string v0, "ia-remote.config" return-object v0 .end method .method public final c()Z .locals 1 const/4 v0, 0x1 return v0 .end method .method public final getUrl()Ljava/lang/String; .locals 3 .line 1 sget v0, Lcom/fyber/inneractive/sdk/config/g;->a:I const-string v0, "ia.testEnvironmentConfiguration.remoteConfigUrl" .line 2 invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String; move-result-object v1 if-nez v1, :cond_0 .line 3 sget-object v0, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale; const-string v1, "cdn2.inner-active.mobi/ia-sdk-config/" filled-new-array {v1}, [Ljava/lang/Object; move-result-object v1 const-string v2, "https://%sfeatures_config.json" invoke-static {v0, v2, v1}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; move-result-object v0 goto :goto_0 .line 4 :cond_0 invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String; move-result-object v0 :goto_0 return-object v0 .end method