NetworkChangeNotifierAutoDetect$RegistrationPolicy.smali
.class public abstract Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "RegistrationPolicy"
.end annotation
# static fields
.field static final synthetic $assertionsDisabled:Z
# instance fields
.field private mNotifier:Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
# direct methods
.method static constructor <clinit>()V
.registers 1
const-class v0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
if-nez v0, :cond_c
const/4 v0, 0x1
:goto_9
sput-boolean v0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->$assertionsDisabled:Z
return-void
:cond_c
const/4 v0, 0x0
goto :goto_9
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method protected abstract destroy()V
.end method
.method protected init(Laegon/chrome/net/NetworkChangeNotifierAutoDetect;)V
.registers 2
iput-object p1, p0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->mNotifier:Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
return-void
.end method
.method protected final register()V
.registers 2
sget-boolean v0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->$assertionsDisabled:Z
if-nez v0, :cond_e
iget-object v0, p0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->mNotifier:Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
if-nez v0, :cond_e
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
:cond_e
iget-object v0, p0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->mNotifier:Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
invoke-virtual {v0}, Laegon/chrome/net/NetworkChangeNotifierAutoDetect;->register()V
return-void
.end method
.method protected final unregister()V
.registers 2
sget-boolean v0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->$assertionsDisabled:Z
if-nez v0, :cond_e
iget-object v0, p0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->mNotifier:Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
if-nez v0, :cond_e
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
:cond_e
iget-object v0, p0, Laegon/chrome/net/NetworkChangeNotifierAutoDetect$RegistrationPolicy;->mNotifier:Laegon/chrome/net/NetworkChangeNotifierAutoDetect;
invoke-virtual {v0}, Laegon/chrome/net/NetworkChangeNotifierAutoDetect;->unregister()V
return-void
.end method