u$a.smali
.class public Lcom/tendcloud/tenddata/u$a;
.super Ljava/lang/Object;
.source "td"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/tendcloud/tenddata/u;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field private context:Landroid/content/Context;
.field private lock:Ljava/lang/Object;
.field private receiver:Landroid/content/BroadcastReceiver;
# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/Object;Landroid/content/BroadcastReceiver;)V
.registers 4
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-object p1, p0, Lcom/tendcloud/tenddata/u$a;->context:Landroid/content/Context;
.line 3
iput-object p2, p0, Lcom/tendcloud/tenddata/u$a;->lock:Ljava/lang/Object;
.line 4
iput-object p3, p0, Lcom/tendcloud/tenddata/u$a;->receiver:Landroid/content/BroadcastReceiver;
return-void
.end method
# virtual methods
.method public run()V
.registers 5
.line 1
:try_start_0
iget-object v0, p0, Lcom/tendcloud/tenddata/u$a;->lock:Ljava/lang/Object;
monitor-enter v0
:try_end_3
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_3} :catch_23
.line 2
:try_start_3
iget-object v1, p0, Lcom/tendcloud/tenddata/u$a;->lock:Ljava/lang/Object;
invoke-virtual {v1}, Ljava/lang/Object;->notifyAll()V
:try_end_8
.catch Ljava/lang/Throwable; {:try_start_3 .. :try_end_8} :catch_19
.catchall {:try_start_3 .. :try_end_8} :catchall_10
.line 3
:try_start_8
iget-object v1, p0, Lcom/tendcloud/tenddata/u$a;->context:Landroid/content/Context;
iget-object v2, p0, Lcom/tendcloud/tenddata/u$a;->receiver:Landroid/content/BroadcastReceiver;
:goto_c
invoke-virtual {v1, v2}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
goto :goto_1e
:catchall_10
move-exception v1
iget-object v2, p0, Lcom/tendcloud/tenddata/u$a;->context:Landroid/content/Context;
iget-object v3, p0, Lcom/tendcloud/tenddata/u$a;->receiver:Landroid/content/BroadcastReceiver;
invoke-virtual {v2, v3}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
throw v1
:catch_19
iget-object v1, p0, Lcom/tendcloud/tenddata/u$a;->context:Landroid/content/Context;
iget-object v2, p0, Lcom/tendcloud/tenddata/u$a;->receiver:Landroid/content/BroadcastReceiver;
goto :goto_c
.line 4
:goto_1e
monitor-exit v0
goto :goto_23
:catchall_20
move-exception v1
monitor-exit v0
:try_end_22
.catchall {:try_start_8 .. :try_end_22} :catchall_20
:try_start_22
throw v1
:try_end_23
.catch Ljava/lang/Throwable; {:try_start_22 .. :try_end_23} :catch_23
:catch_23
:goto_23
return-void
.end method
.method public unRegisterReceiver()V
.registers 3
.line 1
iget-object v0, p0, Lcom/tendcloud/tenddata/u$a;->receiver:Landroid/content/BroadcastReceiver;
if-eqz v0, :cond_9
.line 2
:try_start_4
iget-object v1, p0, Lcom/tendcloud/tenddata/u$a;->context:Landroid/content/Context;
invoke-virtual {v1, v0}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
:try_end_9
.catch Ljava/lang/Throwable; {:try_start_4 .. :try_end_9} :catch_9
:catch_9
:cond_9
return-void
.end method