Changes of com.discord v1325

This commit is contained in:
root 2020-11-12 02:11:44 +00:00
parent d9d9f382c9
commit 3cb9e1231d
28086 changed files with 4880345 additions and 0 deletions

View file

@ -0,0 +1,100 @@
.class public Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
.super Ljava/lang/Object;
.source "ChooserTargetServiceCompat.java"
# interfaces
.implements Ljava/lang/Comparable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/ChooserTargetServiceCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "ShortcutHolder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/lang/Comparable<",
"Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;",
">;"
}
.end annotation
# instance fields
.field public final mShortcut:Landroidx/core/content/pm/ShortcutInfoCompat;
.field public final mTargetClass:Landroid/content/ComponentName;
# direct methods
.method public constructor <init>(Landroidx/core/content/pm/ShortcutInfoCompat;Landroid/content/ComponentName;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mShortcut:Landroidx/core/content/pm/ShortcutInfoCompat;
iput-object p2, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mTargetClass:Landroid/content/ComponentName;
return-void
.end method
# virtual methods
.method public compareTo(Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;)I
.locals 1
invoke-virtual {p0}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
move-result-object v0
invoke-virtual {v0}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
move-result v0
invoke-virtual {p1}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
move-result-object p1
invoke-virtual {p1}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
move-result p1
sub-int/2addr v0, p1
return v0
.end method
.method public bridge synthetic compareTo(Ljava/lang/Object;)I
.locals 0
check-cast p1, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
invoke-virtual {p0, p1}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->compareTo(Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;)I
move-result p1
return p1
.end method
.method public getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
.locals 1
iget-object v0, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mShortcut:Landroidx/core/content/pm/ShortcutInfoCompat;
return-object v0
.end method
.method public getTargetClass()Landroid/content/ComponentName;
.locals 1
iget-object v0, p0, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->mTargetClass:Landroid/content/ComponentName;
return-object v0
.end method

View file

@ -0,0 +1,441 @@
.class public Landroidx/sharetarget/ChooserTargetServiceCompat;
.super Landroid/service/chooser/ChooserTargetService;
.source "ChooserTargetServiceCompat.java"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x17
.end annotation
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
}
.end annotation
# static fields
.field public static final TAG:Ljava/lang/String; = "ChooserServiceCompat"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Landroid/service/chooser/ChooserTargetService;-><init>()V
return-void
.end method
.method public static convertShortcutsToChooserTargets(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/util/List;)Ljava/util/List;
.locals 14
.param p0 # Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/util/List;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Landroidx/annotation/VisibleForTesting;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;",
"Ljava/util/List<",
"Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;",
">;)",
"Ljava/util/List<",
"Landroid/service/chooser/ChooserTarget;",
">;"
}
.end annotation
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_0
new-instance p0, Ljava/util/ArrayList;
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
return-object p0
:cond_0
invoke-static {p1}, Ljava/util/Collections;->sort(Ljava/util/List;)V
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
const/high16 v1, 0x3f800000 # 1.0f
const/4 v2, 0x0
invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
invoke-virtual {v2}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
move-result-object v2
invoke-virtual {v2}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
move-result v2
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_3
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
invoke-virtual {v3}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getShortcut()Landroidx/core/content/pm/ShortcutInfoCompat;
move-result-object v4
const/4 v5, 0x0
:try_start_0
invoke-virtual {v4}, Landroidx/core/content/pm/ShortcutInfoCompat;->getId()Ljava/lang/String;
move-result-object v6
invoke-virtual {p0, v6}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->getShortcutIcon(Ljava/lang/String;)Landroidx/core/graphics/drawable/IconCompat;
move-result-object v6
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_1
:catch_0
move-exception v6
const-string v7, "ChooserServiceCompat"
const-string v8, "Failed to retrieve shortcut icon: "
invoke-static {v7, v8, v6}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
move-object v6, v5
:goto_1
new-instance v12, Landroid/os/Bundle;
invoke-direct {v12}, Landroid/os/Bundle;-><init>()V
invoke-virtual {v4}, Landroidx/core/content/pm/ShortcutInfoCompat;->getId()Ljava/lang/String;
move-result-object v7
const-string v8, "android.intent.extra.shortcut.ID"
invoke-virtual {v12, v8, v7}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
invoke-virtual {v4}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
move-result v7
if-eq v2, v7, :cond_1
const v2, 0x3c23d70a # 0.01f
sub-float/2addr v1, v2
invoke-virtual {v4}, Landroidx/core/content/pm/ShortcutInfoCompat;->getRank()I
move-result v2
:cond_1
new-instance v13, Landroid/service/chooser/ChooserTarget;
invoke-virtual {v4}, Landroidx/core/content/pm/ShortcutInfoCompat;->getShortLabel()Ljava/lang/CharSequence;
move-result-object v8
if-nez v6, :cond_2
goto :goto_2
:cond_2
invoke-virtual {v6}, Landroidx/core/graphics/drawable/IconCompat;->toIcon()Landroid/graphics/drawable/Icon;
move-result-object v5
:goto_2
move-object v9, v5
invoke-virtual {v3}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;->getTargetClass()Landroid/content/ComponentName;
move-result-object v11
move-object v7, v13
move v10, v1
invoke-direct/range {v7 .. v12}, Landroid/service/chooser/ChooserTarget;-><init>(Ljava/lang/CharSequence;Landroid/graphics/drawable/Icon;FLandroid/content/ComponentName;Landroid/os/Bundle;)V
invoke-virtual {v0, v13}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_3
return-object v0
.end method
# virtual methods
.method public onGetChooserTargets(Landroid/content/ComponentName;Landroid/content/IntentFilter;)Ljava/util/List;
.locals 8
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/ComponentName;",
"Landroid/content/IntentFilter;",
")",
"Ljava/util/List<",
"Landroid/service/chooser/ChooserTarget;",
">;"
}
.end annotation
invoke-virtual {p0}, Landroid/service/chooser/ChooserTargetService;->getApplicationContext()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getShareTargets(Landroid/content/Context;)Ljava/util/ArrayList;
move-result-object v1
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_0
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_3
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroidx/sharetarget/ShareTargetCompat;
iget-object v4, v3, Landroidx/sharetarget/ShareTargetCompat;->mTargetClass:Ljava/lang/String;
invoke-virtual {p1}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;
move-result-object v5
invoke-virtual {v4, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v4
if-nez v4, :cond_1
goto :goto_0
:cond_1
iget-object v4, v3, Landroidx/sharetarget/ShareTargetCompat;->mTargetData:[Landroidx/sharetarget/ShareTargetCompat$TargetData;
array-length v5, v4
const/4 v6, 0x0
:goto_1
if-ge v6, v5, :cond_0
aget-object v7, v4, v6
iget-object v7, v7, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mMimeType:Ljava/lang/String;
invoke-virtual {p2, v7}, Landroid/content/IntentFilter;->hasDataType(Ljava/lang/String;)Z
move-result v7
if-eqz v7, :cond_2
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_2
add-int/lit8 v6, v6, 0x1
goto :goto_1
:cond_3
invoke-virtual {v2}, Ljava/util/ArrayList;->isEmpty()Z
move-result p1
if-eqz p1, :cond_4
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p1
return-object p1
:cond_4
invoke-static {v0}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->getInstance(Landroid/content/Context;)Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
move-result-object p1
:try_start_0
invoke-virtual {p1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->getShortcuts()Ljava/util/List;
move-result-object p2
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
if-eqz p2, :cond_9
invoke-interface {p2}, Ljava/util/List;->isEmpty()Z
move-result v1
if-eqz v1, :cond_5
goto :goto_3
:cond_5
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p2
:cond_6
:goto_2
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_8
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Landroidx/core/content/pm/ShortcutInfoCompat;
invoke-virtual {v2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v4
:cond_7
invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
move-result v5
if-eqz v5, :cond_6
invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v5
check-cast v5, Landroidx/sharetarget/ShareTargetCompat;
invoke-virtual {v3}, Landroidx/core/content/pm/ShortcutInfoCompat;->getCategories()Ljava/util/Set;
move-result-object v6
iget-object v7, v5, Landroidx/sharetarget/ShareTargetCompat;->mCategories:[Ljava/lang/String;
invoke-static {v7}, Ljava/util/Arrays;->asList([Ljava/lang/Object;)Ljava/util/List;
move-result-object v7
invoke-interface {v6, v7}, Ljava/util/Set;->containsAll(Ljava/util/Collection;)Z
move-result v6
if-eqz v6, :cond_7
new-instance v4, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;
new-instance v6, Landroid/content/ComponentName;
invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v7
iget-object v5, v5, Landroidx/sharetarget/ShareTargetCompat;->mTargetClass:Ljava/lang/String;
invoke-direct {v6, v7, v5}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
invoke-direct {v4, v3, v6}, Landroidx/sharetarget/ChooserTargetServiceCompat$ShortcutHolder;-><init>(Landroidx/core/content/pm/ShortcutInfoCompat;Landroid/content/ComponentName;)V
invoke-virtual {v1, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_2
:cond_8
invoke-static {p1, v1}, Landroidx/sharetarget/ChooserTargetServiceCompat;->convertShortcutsToChooserTargets(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/util/List;)Ljava/util/List;
move-result-object p1
return-object p1
:cond_9
:goto_3
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p1
return-object p1
:catch_0
move-exception p1
const-string p2, "ChooserServiceCompat"
const-string v0, "Failed to retrieve shortcuts: "
invoke-static {p2, v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object p1
return-object p1
.end method

View file

@ -0,0 +1,49 @@
.class public final Landroidx/sharetarget/R$attr;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "attr"
.end annotation
# static fields
.field public static final alpha:I = 0x7f04003b
.field public static final font:I = 0x7f04028d
.field public static final fontProviderAuthority:I = 0x7f04028f
.field public static final fontProviderCerts:I = 0x7f040290
.field public static final fontProviderFetchStrategy:I = 0x7f040291
.field public static final fontProviderFetchTimeout:I = 0x7f040292
.field public static final fontProviderPackage:I = 0x7f040293
.field public static final fontProviderQuery:I = 0x7f040294
.field public static final fontStyle:I = 0x7f040295
.field public static final fontVariationSettings:I = 0x7f040296
.field public static final fontWeight:I = 0x7f040297
.field public static final ttcIndex:I = 0x7f040600
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,33 @@
.class public final Landroidx/sharetarget/R$color;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "color"
.end annotation
# static fields
.field public static final notification_action_color_filter:I = 0x7f060163
.field public static final notification_icon_bg_color:I = 0x7f060164
.field public static final ripple_material_light:I = 0x7f0601e8
.field public static final secondary_text_default_material_light:I = 0x7f0601ec
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,69 @@
.class public final Landroidx/sharetarget/R$dimen;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "dimen"
.end annotation
# static fields
.field public static final compat_button_inset_horizontal_material:I = 0x7f070083
.field public static final compat_button_inset_vertical_material:I = 0x7f070084
.field public static final compat_button_padding_horizontal_material:I = 0x7f070085
.field public static final compat_button_padding_vertical_material:I = 0x7f070086
.field public static final compat_control_corner_material:I = 0x7f070087
.field public static final compat_notification_large_icon_max_height:I = 0x7f070088
.field public static final compat_notification_large_icon_max_width:I = 0x7f070089
.field public static final notification_action_icon_size:I = 0x7f0701b2
.field public static final notification_action_text_size:I = 0x7f0701b3
.field public static final notification_big_circle_margin:I = 0x7f0701b4
.field public static final notification_content_margin_start:I = 0x7f0701b5
.field public static final notification_large_icon_height:I = 0x7f0701b6
.field public static final notification_large_icon_width:I = 0x7f0701b7
.field public static final notification_main_column_padding_top:I = 0x7f0701b8
.field public static final notification_media_narrow_margin:I = 0x7f0701b9
.field public static final notification_right_icon_size:I = 0x7f0701ba
.field public static final notification_right_side_padding_top:I = 0x7f0701bb
.field public static final notification_small_icon_background_padding:I = 0x7f0701bc
.field public static final notification_small_icon_size_as_large:I = 0x7f0701bd
.field public static final notification_subtext_size:I = 0x7f0701be
.field public static final notification_top_pad:I = 0x7f0701bf
.field public static final notification_top_pad_large_text:I = 0x7f0701c0
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,49 @@
.class public final Landroidx/sharetarget/R$drawable;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "drawable"
.end annotation
# static fields
.field public static final notification_action_background:I = 0x7f080553
.field public static final notification_bg:I = 0x7f080554
.field public static final notification_bg_low:I = 0x7f080555
.field public static final notification_bg_low_normal:I = 0x7f080556
.field public static final notification_bg_low_pressed:I = 0x7f080557
.field public static final notification_bg_normal:I = 0x7f080558
.field public static final notification_bg_normal_pressed:I = 0x7f080559
.field public static final notification_icon_background:I = 0x7f08055a
.field public static final notification_template_icon_bg:I = 0x7f08055b
.field public static final notification_template_icon_low_bg:I = 0x7f08055c
.field public static final notification_tile_bg:I = 0x7f08055d
.field public static final notify_panel_notification_icon_bg:I = 0x7f08055e
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,159 @@
.class public final Landroidx/sharetarget/R$id;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "id"
.end annotation
# static fields
.field public static final accessibility_action_clickable_span:I = 0x7f0a001a
.field public static final accessibility_custom_action_0:I = 0x7f0a001b
.field public static final accessibility_custom_action_1:I = 0x7f0a001c
.field public static final accessibility_custom_action_10:I = 0x7f0a001d
.field public static final accessibility_custom_action_11:I = 0x7f0a001e
.field public static final accessibility_custom_action_12:I = 0x7f0a001f
.field public static final accessibility_custom_action_13:I = 0x7f0a0020
.field public static final accessibility_custom_action_14:I = 0x7f0a0021
.field public static final accessibility_custom_action_15:I = 0x7f0a0022
.field public static final accessibility_custom_action_16:I = 0x7f0a0023
.field public static final accessibility_custom_action_17:I = 0x7f0a0024
.field public static final accessibility_custom_action_18:I = 0x7f0a0025
.field public static final accessibility_custom_action_19:I = 0x7f0a0026
.field public static final accessibility_custom_action_2:I = 0x7f0a0027
.field public static final accessibility_custom_action_20:I = 0x7f0a0028
.field public static final accessibility_custom_action_21:I = 0x7f0a0029
.field public static final accessibility_custom_action_22:I = 0x7f0a002a
.field public static final accessibility_custom_action_23:I = 0x7f0a002b
.field public static final accessibility_custom_action_24:I = 0x7f0a002c
.field public static final accessibility_custom_action_25:I = 0x7f0a002d
.field public static final accessibility_custom_action_26:I = 0x7f0a002e
.field public static final accessibility_custom_action_27:I = 0x7f0a002f
.field public static final accessibility_custom_action_28:I = 0x7f0a0030
.field public static final accessibility_custom_action_29:I = 0x7f0a0031
.field public static final accessibility_custom_action_3:I = 0x7f0a0032
.field public static final accessibility_custom_action_30:I = 0x7f0a0033
.field public static final accessibility_custom_action_31:I = 0x7f0a0034
.field public static final accessibility_custom_action_4:I = 0x7f0a0035
.field public static final accessibility_custom_action_5:I = 0x7f0a0036
.field public static final accessibility_custom_action_6:I = 0x7f0a0037
.field public static final accessibility_custom_action_7:I = 0x7f0a0038
.field public static final accessibility_custom_action_8:I = 0x7f0a0039
.field public static final accessibility_custom_action_9:I = 0x7f0a003a
.field public static final action_container:I = 0x7f0a004a
.field public static final action_divider:I = 0x7f0a004c
.field public static final action_image:I = 0x7f0a004d
.field public static final action_text:I = 0x7f0a0053
.field public static final actions:I = 0x7f0a0054
.field public static final async:I = 0x7f0a009d
.field public static final blocking:I = 0x7f0a00fa
.field public static final chronometer:I = 0x7f0a028a
.field public static final dialog_button:I = 0x7f0a0311
.field public static final forever:I = 0x7f0a043a
.field public static final icon:I = 0x7f0a054f
.field public static final icon_group:I = 0x7f0a0551
.field public static final info:I = 0x7f0a057e
.field public static final italic:I = 0x7f0a05bb
.field public static final line1:I = 0x7f0a0616
.field public static final line3:I = 0x7f0a0617
.field public static final normal:I = 0x7f0a06c9
.field public static final notification_background:I = 0x7f0a06d3
.field public static final notification_main_column:I = 0x7f0a06d4
.field public static final notification_main_column_container:I = 0x7f0a06d5
.field public static final right_icon:I = 0x7f0a0811
.field public static final right_side:I = 0x7f0a0812
.field public static final tag_accessibility_actions:I = 0x7f0a0a61
.field public static final tag_accessibility_clickable_spans:I = 0x7f0a0a62
.field public static final tag_accessibility_heading:I = 0x7f0a0a63
.field public static final tag_accessibility_pane_title:I = 0x7f0a0a64
.field public static final tag_screen_reader_focusable:I = 0x7f0a0a65
.field public static final tag_transition_group:I = 0x7f0a0a66
.field public static final tag_unhandled_key_event_manager:I = 0x7f0a0a67
.field public static final tag_unhandled_key_listeners:I = 0x7f0a0a68
.field public static final text:I = 0x7f0a0a73
.field public static final text2:I = 0x7f0a0a75
.field public static final time:I = 0x7f0a0a8a
.field public static final title:I = 0x7f0a0a8b
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,27 @@
.class public final Landroidx/sharetarget/R$integer;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "integer"
.end annotation
# static fields
.field public static final status_bar_notification_info_maxnum:I = 0x7f0b0018
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,39 @@
.class public final Landroidx/sharetarget/R$layout;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "layout"
.end annotation
# static fields
.field public static final custom_dialog:I = 0x7f0d0034
.field public static final notification_action:I = 0x7f0d00a5
.field public static final notification_action_tombstone:I = 0x7f0d00a6
.field public static final notification_template_custom_big:I = 0x7f0d00ae
.field public static final notification_template_icon_group:I = 0x7f0d00af
.field public static final notification_template_part_chronometer:I = 0x7f0d00b3
.field public static final notification_template_part_time:I = 0x7f0d00b4
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,27 @@
.class public final Landroidx/sharetarget/R$string;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "string"
.end annotation
# static fields
.field public static final status_bar_notification_info_overflow:I = 0x7f12166b
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,39 @@
.class public final Landroidx/sharetarget/R$style;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "style"
.end annotation
# static fields
.field public static final TextAppearance_Compat_Notification:I = 0x7f13022b
.field public static final TextAppearance_Compat_Notification_Info:I = 0x7f13022c
.field public static final TextAppearance_Compat_Notification_Line2:I = 0x7f13022e
.field public static final TextAppearance_Compat_Notification_Time:I = 0x7f130231
.field public static final TextAppearance_Compat_Notification_Title:I = 0x7f130233
.field public static final Widget_Compat_NotificationActionContainer:I = 0x7f1303eb
.field public static final Widget_Compat_NotificationActionText:I = 0x7f1303ec
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,202 @@
.class public final Landroidx/sharetarget/R$styleable;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "styleable"
.end annotation
# static fields
.field public static final ColorStateListItem:[I
.field public static final ColorStateListItem_alpha:I = 0x2
.field public static final ColorStateListItem_android_alpha:I = 0x1
.field public static final ColorStateListItem_android_color:I = 0x0
.field public static final FontFamily:[I
.field public static final FontFamilyFont:[I
.field public static final FontFamilyFont_android_font:I = 0x0
.field public static final FontFamilyFont_android_fontStyle:I = 0x2
.field public static final FontFamilyFont_android_fontVariationSettings:I = 0x4
.field public static final FontFamilyFont_android_fontWeight:I = 0x1
.field public static final FontFamilyFont_android_ttcIndex:I = 0x3
.field public static final FontFamilyFont_font:I = 0x5
.field public static final FontFamilyFont_fontStyle:I = 0x6
.field public static final FontFamilyFont_fontVariationSettings:I = 0x7
.field public static final FontFamilyFont_fontWeight:I = 0x8
.field public static final FontFamilyFont_ttcIndex:I = 0x9
.field public static final FontFamily_fontProviderAuthority:I = 0x0
.field public static final FontFamily_fontProviderCerts:I = 0x1
.field public static final FontFamily_fontProviderFetchStrategy:I = 0x2
.field public static final FontFamily_fontProviderFetchTimeout:I = 0x3
.field public static final FontFamily_fontProviderPackage:I = 0x4
.field public static final FontFamily_fontProviderQuery:I = 0x5
.field public static final GradientColor:[I
.field public static final GradientColorItem:[I
.field public static final GradientColorItem_android_color:I = 0x0
.field public static final GradientColorItem_android_offset:I = 0x1
.field public static final GradientColor_android_centerColor:I = 0x7
.field public static final GradientColor_android_centerX:I = 0x3
.field public static final GradientColor_android_centerY:I = 0x4
.field public static final GradientColor_android_endColor:I = 0x1
.field public static final GradientColor_android_endX:I = 0xa
.field public static final GradientColor_android_endY:I = 0xb
.field public static final GradientColor_android_gradientRadius:I = 0x5
.field public static final GradientColor_android_startColor:I = 0x0
.field public static final GradientColor_android_startX:I = 0x8
.field public static final GradientColor_android_startY:I = 0x9
.field public static final GradientColor_android_tileMode:I = 0x6
.field public static final GradientColor_android_type:I = 0x2
# direct methods
.method public static constructor <clinit>()V
.locals 1
const/4 v0, 0x3
new-array v0, v0, [I
fill-array-data v0, :array_0
sput-object v0, Landroidx/sharetarget/R$styleable;->ColorStateListItem:[I
const/4 v0, 0x6
new-array v0, v0, [I
fill-array-data v0, :array_1
sput-object v0, Landroidx/sharetarget/R$styleable;->FontFamily:[I
const/16 v0, 0xa
new-array v0, v0, [I
fill-array-data v0, :array_2
sput-object v0, Landroidx/sharetarget/R$styleable;->FontFamilyFont:[I
const/16 v0, 0xc
new-array v0, v0, [I
fill-array-data v0, :array_3
sput-object v0, Landroidx/sharetarget/R$styleable;->GradientColor:[I
const/4 v0, 0x2
new-array v0, v0, [I
fill-array-data v0, :array_4
sput-object v0, Landroidx/sharetarget/R$styleable;->GradientColorItem:[I
return-void
nop
:array_0
.array-data 4
0x10101a5
0x101031f
0x7f04003b
.end array-data
:array_1
.array-data 4
0x7f04028f
0x7f040290
0x7f040291
0x7f040292
0x7f040293
0x7f040294
.end array-data
:array_2
.array-data 4
0x1010532
0x1010533
0x101053f
0x101056f
0x1010570
0x7f04028d
0x7f040295
0x7f040296
0x7f040297
0x7f040600
.end array-data
:array_3
.array-data 4
0x101019d
0x101019e
0x10101a1
0x10101a2
0x10101a3
0x10101a4
0x1010201
0x101020b
0x1010510
0x1010511
0x1010512
0x1010513
.end array-data
:array_4
.array-data 4
0x10101a5
0x1010514
.end array-data
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,29 @@
.class public final Landroidx/sharetarget/R;
.super Ljava/lang/Object;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/sharetarget/R$attr;,
Landroidx/sharetarget/R$color;,
Landroidx/sharetarget/R$dimen;,
Landroidx/sharetarget/R$drawable;,
Landroidx/sharetarget/R$id;,
Landroidx/sharetarget/R$integer;,
Landroidx/sharetarget/R$layout;,
Landroidx/sharetarget/R$string;,
Landroidx/sharetarget/R$style;,
Landroidx/sharetarget/R$styleable;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View file

@ -0,0 +1,54 @@
.class public Landroidx/sharetarget/ShareTargetCompat$TargetData;
.super Ljava/lang/Object;
.source "ShareTargetCompat.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/ShareTargetCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "TargetData"
.end annotation
# instance fields
.field public final mHost:Ljava/lang/String;
.field public final mMimeType:Ljava/lang/String;
.field public final mPath:Ljava/lang/String;
.field public final mPathPattern:Ljava/lang/String;
.field public final mPathPrefix:Ljava/lang/String;
.field public final mPort:Ljava/lang/String;
.field public final mScheme:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mScheme:Ljava/lang/String;
iput-object p2, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mHost:Ljava/lang/String;
iput-object p3, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mPort:Ljava/lang/String;
iput-object p4, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mPath:Ljava/lang/String;
iput-object p5, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mPathPattern:Ljava/lang/String;
iput-object p6, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mPathPrefix:Ljava/lang/String;
iput-object p7, p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;->mMimeType:Ljava/lang/String;
return-void
.end method

View file

@ -0,0 +1,41 @@
.class public Landroidx/sharetarget/ShareTargetCompat;
.super Ljava/lang/Object;
.source "ShareTargetCompat.java"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/sharetarget/ShareTargetCompat$TargetData;
}
.end annotation
# instance fields
.field public final mCategories:[Ljava/lang/String;
.field public final mTargetClass:Ljava/lang/String;
.field public final mTargetData:[Landroidx/sharetarget/ShareTargetCompat$TargetData;
# direct methods
.method public constructor <init>([Landroidx/sharetarget/ShareTargetCompat$TargetData;Ljava/lang/String;[Ljava/lang/String;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/sharetarget/ShareTargetCompat;->mTargetData:[Landroidx/sharetarget/ShareTargetCompat$TargetData;
iput-object p2, p0, Landroidx/sharetarget/ShareTargetCompat;->mTargetClass:Ljava/lang/String;
iput-object p3, p0, Landroidx/sharetarget/ShareTargetCompat;->mCategories:[Ljava/lang/String;
return-void
.end method

View file

@ -0,0 +1,593 @@
.class public Landroidx/sharetarget/ShareTargetXmlParser;
.super Ljava/lang/Object;
.source "ShareTargetXmlParser.java"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
# static fields
.field public static final ATTR_HOST:Ljava/lang/String; = "host"
.field public static final ATTR_MIME_TYPE:Ljava/lang/String; = "mimeType"
.field public static final ATTR_NAME:Ljava/lang/String; = "name"
.field public static final ATTR_PATH:Ljava/lang/String; = "path"
.field public static final ATTR_PATH_PATTERN:Ljava/lang/String; = "pathPattern"
.field public static final ATTR_PATH_PREFIX:Ljava/lang/String; = "pathPrefix"
.field public static final ATTR_PORT:Ljava/lang/String; = "port"
.field public static final ATTR_SCHEME:Ljava/lang/String; = "scheme"
.field public static final ATTR_TARGET_CLASS:Ljava/lang/String; = "targetClass"
.field public static final GET_INSTANCE_LOCK:Ljava/lang/Object;
.field public static final META_DATA_APP_SHORTCUTS:Ljava/lang/String; = "android.app.shortcuts"
.field public static final TAG:Ljava/lang/String; = "ShareTargetXmlParser"
.field public static final TAG_CATEGORY:Ljava/lang/String; = "category"
.field public static final TAG_DATA:Ljava/lang/String; = "data"
.field public static final TAG_SHARE_TARGET:Ljava/lang/String; = "share-target"
.field public static sShareTargets:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Landroidx/sharetarget/ShareTargetCompat;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
sput-object v0, Landroidx/sharetarget/ShareTargetXmlParser;->GET_INSTANCE_LOCK:Ljava/lang/Object;
return-void
.end method
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
.locals 1
const-string v0, "http://schemas.android.com/apk/res/android"
invoke-interface {p0, v0, p1}, Landroid/content/res/XmlResourceParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
if-nez v0, :cond_0
const/4 v0, 0x0
invoke-interface {p0, v0, p1}, Landroid/content/res/XmlResourceParser;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
:cond_0
return-object v0
.end method
.method public static getShareTargets(Landroid/content/Context;)Ljava/util/ArrayList;
.locals 2
.annotation build Landroidx/annotation/WorkerThread;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
")",
"Ljava/util/ArrayList<",
"Landroidx/sharetarget/ShareTargetCompat;",
">;"
}
.end annotation
sget-object v0, Landroidx/sharetarget/ShareTargetXmlParser;->sShareTargets:Ljava/util/ArrayList;
if-nez v0, :cond_1
sget-object v0, Landroidx/sharetarget/ShareTargetXmlParser;->GET_INSTANCE_LOCK:Ljava/lang/Object;
monitor-enter v0
:try_start_0
sget-object v1, Landroidx/sharetarget/ShareTargetXmlParser;->sShareTargets:Ljava/util/ArrayList;
if-nez v1, :cond_0
invoke-static {p0}, Landroidx/sharetarget/ShareTargetXmlParser;->parseShareTargets(Landroid/content/Context;)Ljava/util/ArrayList;
move-result-object p0
sput-object p0, Landroidx/sharetarget/ShareTargetXmlParser;->sShareTargets:Ljava/util/ArrayList;
:cond_0
monitor-exit v0
goto :goto_0
:catchall_0
move-exception p0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
:cond_1
:goto_0
sget-object p0, Landroidx/sharetarget/ShareTargetXmlParser;->sShareTargets:Ljava/util/ArrayList;
return-object p0
.end method
.method public static getXmlResourceParser(Landroid/content/Context;Landroid/content/pm/ActivityInfo;)Landroid/content/res/XmlResourceParser;
.locals 1
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p0
const-string v0, "android.app.shortcuts"
invoke-virtual {p1, p0, v0}, Landroid/content/pm/ActivityInfo;->loadXmlMetaData(Landroid/content/pm/PackageManager;Ljava/lang/String;)Landroid/content/res/XmlResourceParser;
move-result-object p0
if-eqz p0, :cond_0
return-object p0
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "Failed to open android.app.shortcuts meta-data resource of "
invoke-static {v0}, Lf/e/c/a/a;->E(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
iget-object p1, p1, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static parseShareTarget(Landroid/content/res/XmlResourceParser;)Landroidx/sharetarget/ShareTargetCompat;
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
const-string/jumbo v0, "targetClass"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/util/ArrayList;
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
new-instance v2, Ljava/util/ArrayList;
invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
:cond_0
:goto_0
invoke-interface {p0}, Landroid/content/res/XmlResourceParser;->next()I
move-result v3
const/4 v4, 0x1
if-eq v3, v4, :cond_7
const/4 v5, 0x2
if-ne v3, v5, :cond_6
invoke-interface {p0}, Landroid/content/res/XmlResourceParser;->getName()Ljava/lang/String;
move-result-object v3
const/4 v5, -0x1
invoke-virtual {v3}, Ljava/lang/String;->hashCode()I
move-result v6
const v7, 0x2eefaa
if-eq v6, v7, :cond_2
const v7, 0x302bcfe
if-eq v6, v7, :cond_1
goto :goto_1
:cond_1
const-string v6, "category"
invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_3
const/4 v5, 0x1
goto :goto_1
:cond_2
const-string v6, "data"
invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_3
const/4 v5, 0x0
:cond_3
:goto_1
if-eqz v5, :cond_5
if-eq v5, v4, :cond_4
goto :goto_0
:cond_4
const-string v3, "name"
invoke-static {p0, v3}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_5
invoke-static {p0}, Landroidx/sharetarget/ShareTargetXmlParser;->parseTargetData(Landroid/content/res/XmlResourceParser;)Landroidx/sharetarget/ShareTargetCompat$TargetData;
move-result-object v3
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_6
const/4 v4, 0x3
if-ne v3, v4, :cond_0
invoke-interface {p0}, Landroid/content/res/XmlResourceParser;->getName()Ljava/lang/String;
move-result-object v3
const-string v4, "share-target"
invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v3
if-eqz v3, :cond_0
:cond_7
invoke-virtual {v1}, Ljava/util/ArrayList;->isEmpty()Z
move-result p0
if-nez p0, :cond_9
if-eqz v0, :cond_9
invoke-virtual {v2}, Ljava/util/ArrayList;->isEmpty()Z
move-result p0
if-eqz p0, :cond_8
goto :goto_2
:cond_8
new-instance p0, Landroidx/sharetarget/ShareTargetCompat;
invoke-virtual {v1}, Ljava/util/ArrayList;->size()I
move-result v3
new-array v3, v3, [Landroidx/sharetarget/ShareTargetCompat$TargetData;
invoke-virtual {v1, v3}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v1
check-cast v1, [Landroidx/sharetarget/ShareTargetCompat$TargetData;
invoke-virtual {v2}, Ljava/util/ArrayList;->size()I
move-result v3
new-array v3, v3, [Ljava/lang/String;
invoke-virtual {v2, v3}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v2
check-cast v2, [Ljava/lang/String;
invoke-direct {p0, v1, v0, v2}, Landroidx/sharetarget/ShareTargetCompat;-><init>([Landroidx/sharetarget/ShareTargetCompat$TargetData;Ljava/lang/String;[Ljava/lang/String;)V
return-object p0
:cond_9
:goto_2
const/4 p0, 0x0
return-object p0
.end method
.method public static parseShareTargets(Landroid/content/Context;)Ljava/util/ArrayList;
.locals 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
")",
"Ljava/util/ArrayList<",
"Landroidx/sharetarget/ShareTargetCompat;",
">;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
invoke-direct {v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const-string v2, "android.intent.category.LAUNCHER"
invoke-virtual {v1, v2}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v2
const/16 v3, 0x80
invoke-virtual {v2, v1, v3}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v1
if-nez v1, :cond_0
return-object v0
:cond_0
invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v1
:cond_1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_2
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroid/content/pm/ResolveInfo;
iget-object v2, v2, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
iget-object v3, v2, Landroid/content/pm/ActivityInfo;->metaData:Landroid/os/Bundle;
if-eqz v3, :cond_1
const-string v4, "android.app.shortcuts"
invoke-virtual {v3, v4}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
move-result v3
if-eqz v3, :cond_1
invoke-static {p0, v2}, Landroidx/sharetarget/ShareTargetXmlParser;->parseShareTargets(Landroid/content/Context;Landroid/content/pm/ActivityInfo;)Ljava/util/ArrayList;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
goto :goto_0
:cond_2
return-object v0
.end method
.method public static parseShareTargets(Landroid/content/Context;Landroid/content/pm/ActivityInfo;)Ljava/util/ArrayList;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"Landroid/content/pm/ActivityInfo;",
")",
"Ljava/util/ArrayList<",
"Landroidx/sharetarget/ShareTargetCompat;",
">;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
invoke-static {p0, p1}, Landroidx/sharetarget/ShareTargetXmlParser;->getXmlResourceParser(Landroid/content/Context;Landroid/content/pm/ActivityInfo;)Landroid/content/res/XmlResourceParser;
move-result-object p0
:cond_0
:goto_0
:try_start_0
invoke-interface {p0}, Landroid/content/res/XmlResourceParser;->next()I
move-result p1
const/4 v1, 0x1
if-eq p1, v1, :cond_1
const/4 v1, 0x2
if-ne p1, v1, :cond_0
invoke-interface {p0}, Landroid/content/res/XmlResourceParser;->getName()Ljava/lang/String;
move-result-object p1
const-string v1, "share-target"
invoke-virtual {p1, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_0
invoke-static {p0}, Landroidx/sharetarget/ShareTargetXmlParser;->parseShareTarget(Landroid/content/res/XmlResourceParser;)Landroidx/sharetarget/ShareTargetCompat;
move-result-object p1
if-eqz p1, :cond_0
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
const-string v1, "ShareTargetXmlParser"
const-string v2, "Failed to parse the Xml resource: "
invoke-static {v1, v2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:cond_1
invoke-interface {p0}, Landroid/content/res/XmlResourceParser;->close()V
return-object v0
.end method
.method public static parseTargetData(Landroid/content/res/XmlResourceParser;)Landroidx/sharetarget/ShareTargetCompat$TargetData;
.locals 9
const-string v0, "scheme"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
const-string v0, "host"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
const-string v0, "port"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
const-string v0, "path"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
const-string v0, "pathPattern"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
const-string v0, "pathPrefix"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v7
const-string v0, "mimeType"
invoke-static {p0, v0}, Landroidx/sharetarget/ShareTargetXmlParser;->getAttributeValue(Landroid/content/res/XmlResourceParser;Ljava/lang/String;)Ljava/lang/String;
move-result-object v8
new-instance p0, Landroidx/sharetarget/ShareTargetCompat$TargetData;
move-object v1, p0
invoke-direct/range {v1 .. v8}, Landroidx/sharetarget/ShareTargetCompat$TargetData;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-object p0
.end method

View file

@ -0,0 +1,104 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;-><init>(Landroid/content/Context;Ljava/util/concurrent/ExecutorService;Ljava/util/concurrent/ExecutorService;)V
.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$workingDirectory:Ljava/io/File;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/io/File;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->val$workingDirectory:Ljava/io/File;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 3
:try_start_0
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->val$workingDirectory:Ljava/io/File;
invoke-static {v0}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->ensureDir(Ljava/io/File;)Z
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mBitmapsDir:Ljava/io/File;
invoke-static {v0}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->ensureDir(Ljava/io/File;)Z
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, v1, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mTargetsXmlFile:Ljava/io/File;
iget-object v2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v2, v2, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mContext:Landroid/content/Context;
invoke-static {v1, v2}, Landroidx/sharetarget/ShortcutsInfoSerialization;->loadFromXml(Ljava/io/File;Landroid/content/Context;)Ljava/util/Map;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->putAll(Ljava/util/Map;)V
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
new-instance v1, Ljava/util/ArrayList;
iget-object v2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$1;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v2, v2, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
invoke-interface {v2}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v2
invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v0, v1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->deleteDanglingBitmaps(Ljava/util/List;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
const-string v1, "ShortcutInfoCompatSaver"
const-string v2, "ShortcutInfoCompatSaver started with an exceptions "
invoke-static {v1, v2, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:goto_0
return-void
.end method

View file

@ -0,0 +1,59 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleSyncCurrentState(Landroidx/concurrent/futures/ResolvableFuture;)V
.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$containers:Ljava/util/List;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/util/List;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;->val$containers:Ljava/util/List;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;->val$containers:Ljava/util/List;
invoke-virtual {v0, v1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->deleteDanglingBitmaps(Ljava/util/List;)V
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;->val$containers:Ljava/util/List;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$10;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, v1, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mTargetsXmlFile:Ljava/io/File;
invoke-static {v0, v1}, Landroidx/sharetarget/ShortcutsInfoSerialization;->saveAsXml(Ljava/util/List;Ljava/io/File;)V
return-void
.end method

View file

@ -0,0 +1,72 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleSyncCurrentState(Landroidx/concurrent/futures/ResolvableFuture;)V
.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$future:Lf/h/b/a/a/a;
.field public final synthetic val$output:Landroidx/concurrent/futures/ResolvableFuture;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Lf/h/b/a/a/a;Landroidx/concurrent/futures/ResolvableFuture;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;->val$future:Lf/h/b/a/a/a;
iput-object p3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;->val$output:Landroidx/concurrent/futures/ResolvableFuture;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
:try_start_0
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;->val$future:Lf/h/b/a/a/a;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;->val$output:Landroidx/concurrent/futures/ResolvableFuture;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$11;->val$output:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v1, v0}, Landroidx/concurrent/futures/ResolvableFuture;->setException(Ljava/lang/Throwable;)Z
:goto_0
return-void
.end method

View file

@ -0,0 +1,100 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->removeShortcuts(Ljava/util/List;)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$idList:Ljava/util/List;
.field public final synthetic val$result:Landroidx/concurrent/futures/ResolvableFuture;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/util/List;Landroidx/concurrent/futures/ResolvableFuture;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->val$idList:Ljava/util/List;
iput-object p3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->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$2;->val$idList:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/String;
iget-object v2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v2, v2, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
invoke-interface {v2, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v2, v2, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mScheduledBitmapTasks:Ljava/util/Map;
invoke-interface {v2, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Lf/h/b/a/a/a;
if-eqz v1, :cond_0
const/4 v2, 0x0
invoke-interface {v1, v2}, Ljava/util/concurrent/Future;->cancel(Z)Z
goto :goto_0
:cond_1
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$2;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v0, v1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleSyncCurrentState(Landroidx/concurrent/futures/ResolvableFuture;)V
return-void
.end method

View file

@ -0,0 +1,95 @@
.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

View file

@ -0,0 +1,118 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$4;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->getShortcuts()Ljava/util/List;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Ljava/util/ArrayList<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;>;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$4;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic call()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
invoke-virtual {p0}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$4;->call()Ljava/util/ArrayList;
move-result-object v0
return-object v0
.end method
.method public call()Ljava/util/ArrayList;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/ArrayList<",
"Landroidx/core/content/pm/ShortcutInfoCompat;",
">;"
}
.end annotation
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$4;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, v1, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
invoke-interface {v1}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v1
invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_0
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
new-instance v3, Landroidx/core/content/pm/ShortcutInfoCompat$Builder;
iget-object v2, v2, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mShortcutInfo:Landroidx/core/content/pm/ShortcutInfoCompat;
invoke-direct {v3, v2}, Landroidx/core/content/pm/ShortcutInfoCompat$Builder;-><init>(Landroidx/core/content/pm/ShortcutInfoCompat;)V
invoke-virtual {v3}, Landroidx/core/content/pm/ShortcutInfoCompat$Builder;->build()Landroidx/core/content/pm/ShortcutInfoCompat;
move-result-object v2
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_0
return-object v0
.end method

View file

@ -0,0 +1,81 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$5;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->getShortcutIcon(Ljava/lang/String;)Landroidx/core/graphics/drawable/IconCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
.field public final synthetic val$shortcutId:Ljava/lang/String;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$5;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$5;->val$shortcutId:Ljava/lang/String;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
.locals 2
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$5;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$5;->val$shortcutId:Ljava/lang/String;
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
return-object v0
.end method
.method public bridge synthetic call()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
invoke-virtual {p0}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$5;->call()Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,77 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$6;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/util/concurrent/Callable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->getShortcutIcon(Ljava/lang/String;)Landroidx/core/graphics/drawable/IconCompat;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/concurrent/Callable<",
"Landroid/graphics/Bitmap;",
">;"
}
.end annotation
# instance fields
.field public final synthetic this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
.field public final synthetic val$container:Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$6;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$6;->val$container:Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public call()Landroid/graphics/Bitmap;
.locals 1
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$6;->val$container:Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
iget-object v0, v0, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mBitmapPath:Ljava/lang/String;
invoke-static {v0}, Landroid/graphics/BitmapFactory;->decodeFile(Ljava/lang/String;)Landroid/graphics/Bitmap;
move-result-object v0
return-object v0
.end method
.method public bridge synthetic call()Ljava/lang/Object;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
invoke-virtual {p0}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$6;->call()Landroid/graphics/Bitmap;
move-result-object v0
return-object v0
.end method

View file

@ -0,0 +1,89 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->run()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$1:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;
.field public final synthetic val$future:Lf/h/b/a/a/a;
.field public final synthetic val$id:Ljava/lang/String;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;Ljava/lang/String;Lf/h/b/a/a/a;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->this$1:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->val$id:Ljava/lang/String;
iput-object p3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->val$future:Lf/h/b/a/a/a;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->this$1:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v0, v0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mScheduledBitmapTasks:Ljava/util/Map;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->val$id:Ljava/lang/String;
invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->val$future:Lf/h/b/a/a/a;
invoke-interface {v0}, Ljava/util/concurrent/Future;->isCancelled()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
:try_start_0
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->val$future:Lf/h/b/a/a/a;
invoke-interface {v0}, Ljava/util/concurrent/Future;->get()Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;->this$1:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;
iget-object v1, v1, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v1, v0}, Landroidx/concurrent/futures/ResolvableFuture;->setException(Ljava/lang/Throwable;)Z
:goto_0
return-void
.end method

View file

@ -0,0 +1,164 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->addShortcuts(Ljava/util/List;)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$copy:Ljava/util/List;
.field public final synthetic val$result:Landroidx/concurrent/futures/ResolvableFuture;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Ljava/util/List;Landroidx/concurrent/futures/ResolvableFuture;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->val$copy:Ljava/util/List;
iput-object p3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->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 5
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->val$copy:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_0
:goto_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_4
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroidx/core/content/pm/ShortcutInfoCompat;
invoke-virtual {v1}, Landroidx/core/content/pm/ShortcutInfoCompat;->getCategories()Ljava/util/Set;
move-result-object v2
if-eqz v2, :cond_0
invoke-interface {v2}, Ljava/util/Set;->isEmpty()Z
move-result v2
if-eqz v2, :cond_1
goto :goto_0
:cond_1
iget-object v2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
invoke-virtual {v2, v1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->containerFrom(Landroidx/core/content/pm/ShortcutInfoCompat;)Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
move-result-object v2
invoke-virtual {v1}, Landroidx/core/content/pm/ShortcutInfoCompat;->getIcon()Landroidx/core/graphics/drawable/IconCompat;
move-result-object v3
iget-object v4, v2, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mBitmapPath:Ljava/lang/String;
if-eqz v4, :cond_2
invoke-virtual {v3}, Landroidx/core/graphics/drawable/IconCompat;->getBitmap()Landroid/graphics/Bitmap;
move-result-object v3
goto :goto_1
:cond_2
const/4 v3, 0x0
:goto_1
invoke-virtual {v1}, Landroidx/core/content/pm/ShortcutInfoCompat;->getId()Ljava/lang/String;
move-result-object v1
iget-object v4, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v4, v4, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mShortcutsMap:Ljava/util/Map;
invoke-interface {v4, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
if-eqz v3, :cond_0
iget-object v4, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v2, v2, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mBitmapPath:Ljava/lang/String;
invoke-virtual {v4, v3, v2}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleBitmapSaving(Landroid/graphics/Bitmap;Ljava/lang/String;)Lf/h/b/a/a/a;
move-result-object v2
iget-object v3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v3, v3, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mScheduledBitmapTasks:Ljava/util/Map;
invoke-interface {v3, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lf/h/b/a/a/a;
if-eqz v3, :cond_3
const/4 v4, 0x0
invoke-interface {v3, v4}, Ljava/util/concurrent/Future;->cancel(Z)Z
:cond_3
new-instance v3, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;
invoke-direct {v3, p0, v1, v2}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7$1;-><init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;Ljava/lang/String;Lf/h/b/a/a/a;)V
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, v1, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->mCacheUpdateService:Ljava/util/concurrent/ExecutorService;
invoke-interface {v2, v3, v1}, Lf/h/b/a/a/a;->addListener(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V
goto :goto_0
:cond_4
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$7;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v0, v1}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleSyncCurrentState(Landroidx/concurrent/futures/ResolvableFuture;)V
return-void
.end method

View file

@ -0,0 +1,57 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$8;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->scheduleBitmapSaving(Landroid/graphics/Bitmap;Ljava/lang/String;)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$bitmap:Landroid/graphics/Bitmap;
.field public final synthetic val$path:Ljava/lang/String;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Landroid/graphics/Bitmap;Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$8;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$8;->val$bitmap:Landroid/graphics/Bitmap;
iput-object p3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$8;->val$path:Ljava/lang/String;
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$8;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$8;->val$bitmap:Landroid/graphics/Bitmap;
iget-object v2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$8;->val$path:Ljava/lang/String;
invoke-virtual {v0, v1, v2}, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->saveBitmap(Landroid/graphics/Bitmap;Ljava/lang/String;)V
return-void
.end method

View file

@ -0,0 +1,83 @@
.class public Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;
.super Ljava/lang/Object;
.source "ShortcutInfoCompatSaverImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;->submitDiskOperation(Ljava/lang/Runnable;)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;
.field public final synthetic val$runnable:Ljava/lang/Runnable;
# direct methods
.method public constructor <init>(Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;Landroidx/concurrent/futures/ResolvableFuture;Ljava/lang/Runnable;)V
.locals 0
iput-object p1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->this$0:Landroidx/sharetarget/ShortcutInfoCompatSaverImpl;
iput-object p2, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
iput-object p3, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->val$runnable:Ljava/lang/Runnable;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v0}, Landroidx/concurrent/futures/AbstractResolvableFuture;->isCancelled()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
:try_start_0
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->val$runnable:Ljava/lang/Runnable;
invoke-interface {v0}, Ljava/lang/Runnable;->run()V
iget-object v0, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroidx/concurrent/futures/ResolvableFuture;->set(Ljava/lang/Object;)Z
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
iget-object v1, p0, Landroidx/sharetarget/ShortcutInfoCompatSaverImpl$9;->val$result:Landroidx/concurrent/futures/ResolvableFuture;
invoke-virtual {v1, v0}, Landroidx/concurrent/futures/ResolvableFuture;->setException(Ljava/lang/Throwable;)Z
:goto_0
return-void
.end method

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,40 @@
.class public Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;
.super Ljava/lang/Object;
.source "ShortcutsInfoSerialization.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/sharetarget/ShortcutsInfoSerialization;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "ShortcutContainer"
.end annotation
# instance fields
.field public final mBitmapPath:Ljava/lang/String;
.field public final mResourceName:Ljava/lang/String;
.field public final mShortcutInfo:Landroidx/core/content/pm/ShortcutInfoCompat;
# direct methods
.method public constructor <init>(Landroidx/core/content/pm/ShortcutInfoCompat;Ljava/lang/String;Ljava/lang/String;)V
.locals 0
.annotation build Landroidx/annotation/AnyThread;
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mShortcutInfo:Landroidx/core/content/pm/ShortcutInfoCompat;
iput-object p2, p0, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mResourceName:Ljava/lang/String;
iput-object p3, p0, Landroidx/sharetarget/ShortcutsInfoSerialization$ShortcutContainer;->mBitmapPath:Ljava/lang/String;
return-void
.end method

File diff suppressed because it is too large Load diff