ze.smali
.class Ldxoptimizer/ze;
.super Ljava/lang/Object;
.source "LibSharedPreferencesCompat.java"
# static fields
.field private static a:Ljava/lang/reflect/Method;
# direct methods
.method static constructor <clinit>()V
.registers 3
.prologue
.line 12
const/4 v0, 0x0
:try_start_1
new-array v0, v0, [Ljava/lang/Class;
.line 13
const-class v1, Landroid/content/SharedPreferences$Editor;
const-string v2, "apply"
invoke-virtual {v1, v2, v0}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
sput-object v0, Ldxoptimizer/ze;->a:Ljava/lang/reflect/Method;
:try_end_d
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_d} :catch_e
.line 17
:goto_d
return-void
.line 14
:catch_e
move-exception v0
.line 15
const/4 v0, 0x0
sput-object v0, Ldxoptimizer/ze;->a:Ljava/lang/reflect/Method;
goto :goto_d
.end method
.method public static a(Landroid/content/SharedPreferences$Editor;)V
.registers 3
.prologue
.line 20
sget-object v0, Ldxoptimizer/ze;->a:Ljava/lang/reflect/Method;
if-eqz v0, :cond_e
.line 22
:try_start_4
sget-object v0, Ldxoptimizer/ze;->a:Ljava/lang/reflect/Method;
.line 23
const/4 v1, 0x0
new-array v1, v1, [Ljava/lang/Object;
.line 24
invoke-virtual {v0, p0, v1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_c
.catch Ljava/lang/IllegalAccessException; {:try_start_4 .. :try_end_c} :catch_12
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_4 .. :try_end_c} :catch_d
.line 34
:goto_c
return-void
.line 28
:catch_d
move-exception v0
.line 33
:cond_e
:goto_e
invoke-interface {p0}, Landroid/content/SharedPreferences$Editor;->commit()Z
goto :goto_c
.line 26
:catch_12
move-exception v0
goto :goto_e
.end method