.class Lcom/facebook/soloader/SoLoader$Api14Utils; .super Ljava/lang/Object; .source "SoLoader.java" # annotations .annotation build Landroid/annotation/TargetApi; value = 0xe .end annotation .annotation build Lcom/facebook/soloader/d; .end annotation .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/facebook/soloader/SoLoader; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x8 name = "Api14Utils" .end annotation # direct methods .method private constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static kk()Ljava/lang/String; .locals 5 const-class v0, Lcom/facebook/soloader/SoLoader; invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader; move-result-object v0 instance-of v1, v0, Ldalvik/system/BaseDexClassLoader; if-eqz v1, :cond_0 :try_start_0 check-cast v0, Ldalvik/system/BaseDexClassLoader; const-class v1, Ldalvik/system/BaseDexClassLoader; const-string v2, "getLdLibraryPath" const/4 v3, 0x0 new-array v4, v3, [Ljava/lang/Class; invoke-virtual {v1, v2, v4}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; move-result-object v1 new-array v2, v3, [Ljava/lang/Object; invoke-virtual {v1, v0, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/String; :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 return-object v0 :catch_0 move-exception v0 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Cannot call getLdLibraryPath" invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :cond_0 new-instance v1, Ljava/lang/IllegalStateException; new-instance v2, Ljava/lang/StringBuilder; const-string v3, "ClassLoader " invoke-direct {v2, v3}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v0 invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, " should be of type BaseDexClassLoader" invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw v1 .end method