431 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			431 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/core/app/NotificationCompat$b;
 | |
| .super Landroidx/core/app/NotificationCompat$k;
 | |
| .source "NotificationCompat.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation system Ldalvik/annotation/EnclosingClass;
 | |
|     value = Landroidx/core/app/NotificationCompat;
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/InnerClass;
 | |
|     accessFlags = 0x9
 | |
|     name = "b"
 | |
| .end annotation
 | |
| 
 | |
| .annotation system Ldalvik/annotation/MemberClasses;
 | |
|     value = {
 | |
|         Landroidx/core/app/NotificationCompat$b$c;,
 | |
|         Landroidx/core/app/NotificationCompat$b$b;,
 | |
|         Landroidx/core/app/NotificationCompat$b$a;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final i:Ljava/lang/String; = "androidx.core.app.NotificationCompat$BigPictureStyle"
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public e:Landroid/graphics/Bitmap;
 | |
| 
 | |
| .field public f:Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
| .field public g:Z
 | |
| 
 | |
| .field public h:Z
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>()V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Landroidx/core/app/NotificationCompat$k;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(Landroidx/core/app/NotificationCompat$e;)V
 | |
|     .locals 0
 | |
|     .param p1    # Landroidx/core/app/NotificationCompat$e;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
| 
 | |
|     .line 2
 | |
|     invoke-direct {p0}, Landroidx/core/app/NotificationCompat$k;-><init>()V
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p0, p1}, Landroidx/core/app/NotificationCompat$k;->z(Landroidx/core/app/NotificationCompat$e;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static A(Landroid/os/Parcelable;)Landroidx/core/graphics/drawable/IconCompat;
 | |
|     .locals 1
 | |
|     .param p0    # Landroid/os/Parcelable;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/Nullable;
 | |
|     .end annotation
 | |
| 
 | |
|     if-eqz p0, :cond_1
 | |
| 
 | |
|     .line 1
 | |
|     instance-of v0, p0, Landroid/graphics/drawable/Icon;
 | |
| 
 | |
|     if-eqz v0, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     check-cast p0, Landroid/graphics/drawable/Icon;
 | |
| 
 | |
|     invoke-static {p0}, Landroidx/core/graphics/drawable/IconCompat;->l(Landroid/graphics/drawable/Icon;)Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     move-result-object p0
 | |
| 
 | |
|     return-object p0
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     instance-of v0, p0, Landroid/graphics/Bitmap;
 | |
| 
 | |
|     if-eqz v0, :cond_1
 | |
| 
 | |
|     .line 4
 | |
|     check-cast p0, Landroid/graphics/Bitmap;
 | |
| 
 | |
|     invoke-static {p0}, Landroidx/core/graphics/drawable/IconCompat;->r(Landroid/graphics/Bitmap;)Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     move-result-object p0
 | |
| 
 | |
|     return-object p0
 | |
| 
 | |
|     :cond_1
 | |
|     const/4 p0, 0x0
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public B(Landroid/graphics/Bitmap;)Landroidx/core/app/NotificationCompat$b;
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/Bitmap;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     if-nez p1, :cond_0
 | |
| 
 | |
|     const/4 p1, 0x0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 1
 | |
|     :cond_0
 | |
|     invoke-static {p1}, Landroidx/core/graphics/drawable/IconCompat;->r(Landroid/graphics/Bitmap;)Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     :goto_0
 | |
|     iput-object p1, p0, Landroidx/core/app/NotificationCompat$b;->f:Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Landroidx/core/app/NotificationCompat$b;->g:Z
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public C(Landroid/graphics/Bitmap;)Landroidx/core/app/NotificationCompat$b;
 | |
|     .locals 0
 | |
|     .param p1    # Landroid/graphics/Bitmap;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/core/app/NotificationCompat$b;->e:Landroid/graphics/Bitmap;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public D(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$b;
 | |
|     .locals 0
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Landroidx/core/app/NotificationCompat$e;->A(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Landroidx/core/app/NotificationCompat$k;->b:Ljava/lang/CharSequence;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public E(Ljava/lang/CharSequence;)Landroidx/core/app/NotificationCompat$b;
 | |
|     .locals 0
 | |
|     .param p1    # Ljava/lang/CharSequence;
 | |
|         .annotation build Landroidx/annotation/Nullable;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {p1}, Landroidx/core/app/NotificationCompat$e;->A(Ljava/lang/CharSequence;)Ljava/lang/CharSequence;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     iput-object p1, p0, Landroidx/core/app/NotificationCompat$k;->c:Ljava/lang/CharSequence;
 | |
| 
 | |
|     const/4 p1, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iput-boolean p1, p0, Landroidx/core/app/NotificationCompat$k;->d:Z
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public F(Z)Landroidx/core/app/NotificationCompat$b;
 | |
|     .locals 0
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Landroidx/annotation/RequiresApi;
 | |
|         value = 0x1f
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     iput-boolean p1, p0, Landroidx/core/app/NotificationCompat$b;->h:Z
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public b(Landroidx/core/app/l;)V
 | |
|     .locals 4
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
 | |
| 
 | |
|     .line 2
 | |
|     new-instance v1, Landroid/app/Notification$BigPictureStyle;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-interface {p1}, Landroidx/core/app/l;->a()Landroid/app/Notification$Builder;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-direct {v1, v2}, Landroid/app/Notification$BigPictureStyle;-><init>(Landroid/app/Notification$Builder;)V
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/core/app/NotificationCompat$k;->b:Ljava/lang/CharSequence;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {v1, v2}, Landroid/app/Notification$BigPictureStyle;->setBigContentTitle(Ljava/lang/CharSequence;)Landroid/app/Notification$BigPictureStyle;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/core/app/NotificationCompat$b;->e:Landroid/graphics/Bitmap;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1, v2}, Landroid/app/Notification$BigPictureStyle;->bigPicture(Landroid/graphics/Bitmap;)Landroid/app/Notification$BigPictureStyle;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     .line 6
 | |
|     iget-boolean v2, p0, Landroidx/core/app/NotificationCompat$b;->g:Z
 | |
| 
 | |
|     if-eqz v2, :cond_2
 | |
| 
 | |
|     .line 7
 | |
|     iget-object v2, p0, Landroidx/core/app/NotificationCompat$b;->f:Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     if-nez v2, :cond_0
 | |
| 
 | |
|     .line 8
 | |
|     invoke-static {v1, v3}, Landroidx/core/app/NotificationCompat$b$a;->a(Landroid/app/Notification$BigPictureStyle;Landroid/graphics/Bitmap;)V
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     .line 9
 | |
|     :cond_0
 | |
|     instance-of v2, p1, Landroidx/core/app/o;
 | |
| 
 | |
|     if-eqz v2, :cond_1
 | |
| 
 | |
|     .line 10
 | |
|     check-cast p1, Landroidx/core/app/o;
 | |
| 
 | |
|     invoke-virtual {p1}, Landroidx/core/app/o;->f()Landroid/content/Context;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     .line 11
 | |
|     :cond_1
 | |
|     iget-object p1, p0, Landroidx/core/app/NotificationCompat$b;->f:Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     invoke-virtual {p1, v3}, Landroidx/core/graphics/drawable/IconCompat;->P(Landroid/content/Context;)Landroid/graphics/drawable/Icon;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-static {v1, p1}, Landroidx/core/app/NotificationCompat$b$b;->a(Landroid/app/Notification$BigPictureStyle;Landroid/graphics/drawable/Icon;)V
 | |
| 
 | |
|     .line 12
 | |
|     :cond_2
 | |
|     :goto_0
 | |
|     iget-boolean p1, p0, Landroidx/core/app/NotificationCompat$k;->d:Z
 | |
| 
 | |
|     if-eqz p1, :cond_3
 | |
| 
 | |
|     .line 13
 | |
|     iget-object p1, p0, Landroidx/core/app/NotificationCompat$k;->c:Ljava/lang/CharSequence;
 | |
| 
 | |
|     invoke-static {v1, p1}, Landroidx/core/app/NotificationCompat$b$a;->b(Landroid/app/Notification$BigPictureStyle;Ljava/lang/CharSequence;)V
 | |
| 
 | |
|     :cond_3
 | |
|     const/16 p1, 0x1f
 | |
| 
 | |
|     if-lt v0, p1, :cond_4
 | |
| 
 | |
|     .line 14
 | |
|     iget-boolean p1, p0, Landroidx/core/app/NotificationCompat$b;->h:Z
 | |
| 
 | |
|     invoke-static {v1, p1}, Landroidx/core/app/NotificationCompat$b$c;->a(Landroid/app/Notification$BigPictureStyle;Z)V
 | |
| 
 | |
|     :cond_4
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public g(Landroid/os/Bundle;)V
 | |
|     .locals 1
 | |
|     .param p1    # Landroid/os/Bundle;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroidx/core/app/NotificationCompat$k;->g(Landroid/os/Bundle;)V
 | |
| 
 | |
|     const-string v0, "android.largeIcon.big"
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V
 | |
| 
 | |
|     const-string v0, "android.picture"
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V
 | |
| 
 | |
|     const-string v0, "android.showBigPictureWhenCollapsed"
 | |
| 
 | |
|     .line 4
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public t()Ljava/lang/String;
 | |
|     .locals 1
 | |
|     .annotation build Landroidx/annotation/NonNull;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     const-string v0, "androidx.core.app.NotificationCompat$BigPictureStyle"
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public y(Landroid/os/Bundle;)V
 | |
|     .locals 2
 | |
|     .param p1    # Landroid/os/Bundle;
 | |
|         .annotation build Landroidx/annotation/NonNull;
 | |
|         .end annotation
 | |
|     .end param
 | |
|     .annotation build Landroidx/annotation/RestrictTo;
 | |
|         value = {
 | |
|             .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     invoke-super {p0, p1}, Landroidx/core/app/NotificationCompat$k;->y(Landroid/os/Bundle;)V
 | |
| 
 | |
|     const-string v0, "android.largeIcon.big"
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->containsKey(Ljava/lang/String;)Z
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-static {v0}, Landroidx/core/app/NotificationCompat$b;->A(Landroid/os/Parcelable;)Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/core/app/NotificationCompat$b;->f:Landroidx/core/graphics/drawable/IconCompat;
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     .line 4
 | |
|     iput-boolean v0, p0, Landroidx/core/app/NotificationCompat$b;->g:Z
 | |
| 
 | |
|     :cond_0
 | |
|     const-string v0, "android.picture"
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->getParcelable(Ljava/lang/String;)Landroid/os/Parcelable;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     check-cast v0, Landroid/graphics/Bitmap;
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/core/app/NotificationCompat$b;->e:Landroid/graphics/Bitmap;
 | |
| 
 | |
|     const-string v0, "android.showBigPictureWhenCollapsed"
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {p1, v0}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     iput-boolean p1, p0, Landroidx/core/app/NotificationCompat$b;->h:Z
 | |
| 
 | |
|     return-void
 | |
| .end method
 |