granularity level: instruction
.class public final Lz/c;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Landroid/app/Application$ActivityLifecycleCallbacks;
.implements Landroid/content/ComponentCallbacks2;
.field public static final e:Lz/c;
.field public final a:Ljava/util/concurrent/atomic/AtomicBoolean;
.field public final b:Ljava/util/concurrent/atomic/AtomicBoolean;
.field public final c:Ljava/util/ArrayList;
.field public d:Z
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Lz/c;
invoke-direct {v0}, Lz/c;-><init>()V
sput-object v0, Lz/c;->e:Lz/c;
return-void
.end method
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
iput-object v0, p0, Lz/c;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
iput-object v0, p0, Lz/c;->b:Ljava/util/concurrent/atomic/AtomicBoolean;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lz/c;->c:Ljava/util/ArrayList;
const/4 v0, 0x0
iput-boolean v0, p0, Lz/c;->d:Z
return-void
.end method
.method public final a(Z)V
.locals 3
sget-object v0, Lz/c;->e:Lz/c;
monitor-enter v0
:try_start_0
iget-object v1, p0, Lz/c;->c:Ljava/util/ArrayList;
invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Lz/b;
invoke-interface {v2, p1}, Lz/b;->a(Z)V
goto :goto_0
:cond_0
monitor-exit v0
return-void
:catchall_0
move-exception p1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method
.method public final onActivityCreated(Landroid/app/Activity;Landroid/os/Bundle;)V
.locals 2
iget-object p1, p0, Lz/c;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 p2, 0x1
const/4 v0, 0x0
invoke-virtual {p1, p2, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result p1
iget-object v1, p0, Lz/c;->b:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {v1, p2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
if-eqz p1, :cond_0
invoke-virtual {p0, v0}, Lz/c;->a(Z)V
:cond_0
return-void
.end method
.method public final onActivityDestroyed(Landroid/app/Activity;)V
.locals 0
return-void
.end method
.method public final onActivityPaused(Landroid/app/Activity;)V
.locals 0
return-void
.end method
.method public final onActivityResumed(Landroid/app/Activity;)V
.locals 3
iget-object p1, p0, Lz/c;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 v0, 0x1
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result p1
iget-object v2, p0, Lz/c;->b:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {v2, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
if-eqz p1, :cond_0
invoke-virtual {p0, v1}, Lz/c;->a(Z)V
:cond_0
return-void
.end method
.method public final onActivitySaveInstanceState(Landroid/app/Activity;Landroid/os/Bundle;)V
.locals 0
return-void
.end method
.method public final onActivityStarted(Landroid/app/Activity;)V
.locals 0
return-void
.end method
.method public final onActivityStopped(Landroid/app/Activity;)V
.locals 0
return-void
.end method
.method public final onConfigurationChanged(Landroid/content/res/Configuration;)V
.locals 0
return-void
.end method
.method public final onLowMemory()V
.locals 0
return-void
.end method
.method public final onTrimMemory(I)V
.locals 2
const/16 v0, 0x14
if-ne p1, v0, :cond_0
iget-object p1, p0, Lz/c;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 v0, 0x0
const/4 v1, 0x1
invoke-virtual {p1, v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->compareAndSet(ZZ)Z
move-result p1
if-eqz p1, :cond_0
iget-object p1, p0, Lz/c;->b:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {p1, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V
invoke-virtual {p0, v1}, Lz/c;->a(Z)V
:cond_0
return-void
.end method