a$b.smali
.class public final Lnh/a$b;
.super Landroid/content/BroadcastReceiver;
.source "LocationStateMonitor.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lnh/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "b"
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000.\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\"\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\u0008\u0086\u0004\u0018\u00002\u00020\u0001B\u0005\u00a2\u0006\u0002\u0010\u0002J\u001c\u0010\u0008\u001a\u00020\t2\u0008\u0010\n\u001a\u0004\u0018\u00010\u000b2\u0008\u0010\u000c\u001a\u0004\u0018\u00010\rH\u0016R\u0014\u0010\u0003\u001a\u0008\u0012\u0004\u0012\u00020\u00050\u0004X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0006\u001a\u00020\u0007X\u0082\u000e\u00a2\u0006\u0002\n\u0000\u00a8\u0006\u000e"
}
d2 = {
"Lcom/shopee/foody/driver/location/state/impl/LocationStateMonitor$LocationStateReceiver;",
"Landroid/content/BroadcastReceiver;",
"(Lcom/shopee/foody/driver/location/state/impl/LocationStateMonitor;)V",
"mLocationActions",
"",
"",
"oldValue",
"",
"onReceive",
"",
"context",
"Landroid/content/Context;",
"intent",
"Landroid/content/Intent;",
"driver_indonesiaRelease"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# instance fields
.field public a:Z
.field public final b:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set<",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field public final synthetic c:Lnh/a;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(Lnh/a;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lnh/a$b;->c:Lnh/a;
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
sget-object p1, Lmh/b;->a:Lmh/b;
invoke-virtual {p1}, Lmh/b;->a()Z
move-result p1
iput-boolean p1, p0, Lnh/a$b;->a:Z
const-string p1, "android.location.MODE_CHANGED"
const-string v0, "android.location.PROVIDERS_CHANGED"
filled-new-array {p1, v0}, [Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Lkotlin/collections/SetsKt__SetsKt;->setOf([Ljava/lang/Object;)Ljava/util/Set;
move-result-object p1
iput-object p1, p0, Lnh/a$b;->b:Ljava/util/Set;
return-void
.end method
.method public static final synthetic a(Lnh/a$b;Z)V
.registers 2
iput-boolean p1, p0, Lnh/a$b;->a:Z
return-void
.end method
.method public static final synthetic a(Lnh/a$b;)Z
.registers 1
iget-boolean p0, p0, Lnh/a$b;->a:Z
return p0
.end method
# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
.registers 10
iget-object p1, p0, Lnh/a$b;->b:Ljava/util/Set;
const/4 v0, 0x0
if-eqz p2, :cond_a
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object p2
goto :goto_b
:cond_a
move-object p2, v0
:goto_b
invoke-static {p1, p2}, Lkotlin/collections/CollectionsKt___CollectionsKt;->contains(Ljava/lang/Iterable;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_22
sget-object v1, Lkotlinx/coroutines/GlobalScope;->INSTANCE:Lkotlinx/coroutines/GlobalScope;
invoke-static {}, Lmd/e;->b()Lmd/d;
move-result-object v2
const/4 v3, 0x0
new-instance v4, Lnh/a$b$a;
invoke-direct {v4, p0, v0}, Lnh/a$b$a;-><init>(Lnh/a$b;Lkotlin/coroutines/Continuation;)V
const/4 v5, 0x2
const/4 v6, 0x0
invoke-static/range {v1 .. v6}, Lkotlinx/coroutines/BuildersKt;->launch$default(Lkotlinx/coroutines/CoroutineScope;Lkotlin/coroutines/CoroutineContext;Lkotlinx/coroutines/CoroutineStart;Lkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/Job;
:cond_22
return-void
.end method