137 lines
3.4 KiB
Smali
137 lines
3.4 KiB
Smali
.class public final Ln0/c$a;
|
|
.super Ljava/lang/Object;
|
|
.source "CarNotificationManager.java"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1c
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ln0/c;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(Landroidx/core/app/NotificationCompat$e;Ljava/util/List;)V
|
|
.locals 1
|
|
.param p0 # Landroidx/core/app/NotificationCompat$e;
|
|
.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/DoNotInline;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Landroidx/core/app/NotificationCompat$e;",
|
|
"Ljava/util/List<",
|
|
"Landroid/app/Notification$Action;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroidx/core/app/NotificationCompat$e;->i()Landroidx/core/app/NotificationCompat$e;
|
|
|
|
.line 3
|
|
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 v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/app/Notification$Action;
|
|
|
|
.line 4
|
|
invoke-static {v0}, Ln0/c$a;->b(Landroid/app/Notification$Action;)Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/core/app/NotificationCompat$e;->b(Landroidx/core/app/NotificationCompat$Action;)Landroidx/core/app/NotificationCompat$e;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Landroid/app/Notification$Action;)Landroidx/core/app/NotificationCompat$Action;
|
|
.locals 3
|
|
.param p0 # Landroid/app/Notification$Action;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
new-instance v0, Landroidx/core/app/NotificationCompat$Action;
|
|
|
|
invoke-virtual {p0}, Landroid/app/Notification$Action;->getIcon()Landroid/graphics/drawable/Icon;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {p0}, Landroid/app/Notification$Action;->getIcon()Landroid/graphics/drawable/Icon;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/graphics/drawable/Icon;->getResId()I
|
|
|
|
move-result v1
|
|
|
|
:goto_0
|
|
iget-object v2, p0, Landroid/app/Notification$Action;->title:Ljava/lang/CharSequence;
|
|
|
|
iget-object p0, p0, Landroid/app/Notification$Action;->actionIntent:Landroid/app/PendingIntent;
|
|
|
|
invoke-direct {v0, v1, v2, p0}, Landroidx/core/app/NotificationCompat$Action;-><init>(ILjava/lang/CharSequence;Landroid/app/PendingIntent;)V
|
|
|
|
return-object v0
|
|
.end method
|