apkfuckery/com.discord/smali/androidx/room/MultiInstanceInvalidationClient$6.smali

107 lines
3.1 KiB
Smali
Raw Normal View History

2019-12-06 03:29:40 +00:00
.class public Landroidx/room/MultiInstanceInvalidationClient$6;
2019-10-07 23:23:22 +00:00
.super Landroidx/room/InvalidationTracker$Observer;
.source "MultiInstanceInvalidationClient.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/room/MultiInstanceInvalidationClient;-><init>(Landroid/content/Context;Ljava/lang/String;Landroidx/room/InvalidationTracker;Ljava/util/concurrent/Executor;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-12-06 03:29:40 +00:00
accessFlags = 0x1
2019-10-07 23:23:22 +00:00
name = null
.end annotation
# instance fields
2019-12-06 03:29:40 +00:00
.field public final synthetic this$0:Landroidx/room/MultiInstanceInvalidationClient;
2019-10-07 23:23:22 +00:00
# direct methods
2019-12-06 03:29:40 +00:00
.method public constructor <init>(Landroidx/room/MultiInstanceInvalidationClient;[Ljava/lang/String;)V
2019-10-07 23:23:22 +00:00
.locals 0
iput-object p1, p0, Landroidx/room/MultiInstanceInvalidationClient$6;->this$0:Landroidx/room/MultiInstanceInvalidationClient;
invoke-direct {p0, p2}, Landroidx/room/InvalidationTracker$Observer;-><init>([Ljava/lang/String;)V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public isRemote()Z
2019-10-07 23:23:22 +00:00
.locals 1
const/4 v0, 0x1
return v0
.end method
.method public onInvalidated(Ljava/util/Set;)V
.locals 3
2019-12-06 03:29:40 +00:00
.param p1 # Ljava/util/Set;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
2019-10-07 23:23:22 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Set<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
iget-object v0, p0, Landroidx/room/MultiInstanceInvalidationClient$6;->this$0:Landroidx/room/MultiInstanceInvalidationClient;
iget-object v0, v0, Landroidx/room/MultiInstanceInvalidationClient;->mStopped:Ljava/util/concurrent/atomic/AtomicBoolean;
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
:try_start_0
iget-object v0, p0, Landroidx/room/MultiInstanceInvalidationClient$6;->this$0:Landroidx/room/MultiInstanceInvalidationClient;
iget-object v0, v0, Landroidx/room/MultiInstanceInvalidationClient;->mService:Landroidx/room/IMultiInstanceInvalidationService;
iget-object v1, p0, Landroidx/room/MultiInstanceInvalidationClient$6;->this$0:Landroidx/room/MultiInstanceInvalidationClient;
iget v1, v1, Landroidx/room/MultiInstanceInvalidationClient;->mClientId:I
const/4 v2, 0x0
new-array v2, v2, [Ljava/lang/String;
invoke-interface {p1, v2}, Ljava/util/Set;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object p1
check-cast p1, [Ljava/lang/String;
invoke-interface {v0, v1, p1}, Landroidx/room/IMultiInstanceInvalidationService;->broadcastInvalidation(I[Ljava/lang/String;)V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-10-07 23:23:22 +00:00
:catch_0
move-exception p1
const-string v0, "ROOM"
const-string v1, "Cannot broadcast invalidation"
invoke-static {v0, v1, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
2019-12-06 03:29:40 +00:00
:goto_0
2019-10-07 23:23:22 +00:00
return-void
.end method