apkfuckery/com.discord/smali/androidx/sharetarget/ShortcutInfoCompatSaverImpl$3.smali
2020-07-23 01:06:17 +00:00

95 lines
3.1 KiB
Smali

.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->removeAllShortcuts()Lf/h/b/a/a/a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
.field public final synthetic val$result:Landroidx/concurrent/futures/ResolvableFuture;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Landroidx/concurrent/futures/ResolvableFuture;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->clear()V
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mScheduledBitmapTasks:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v0
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/h/b/a/a/a;
const/4 v2, 0x0
invoke-interface {v1, v2}, Ljava/util/concurrent/Future;->cancel(Z)Z
goto :goto_0
:cond_0
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mScheduledBitmapTasks:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->clear()V
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$3;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v0, v1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleSyncCurrentState(Landroidx/concurrent/futures/ResolvableFuture;)V
return-void
.end method