.class final Landroidx/core/view/ViewCompat$Api31Impl; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation build Landroidx/annotation/RequiresApi; value = 0x1f .end annotation .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/core/view/ViewCompat; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Api31Impl" .end annotation # direct methods .method private constructor ()V .locals 0 .line 3293 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static getReceiveContentMimeTypes(Landroid/view/View;)[Ljava/lang/String; .locals 0 .param p0 # Landroid/view/View; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation .line 3307 invoke-virtual {p0}, Landroid/view/View;->getReceiveContentMimeTypes()[Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static performReceiveContent(Landroid/view/View;Landroidx/core/view/ContentInfoCompat;)Landroidx/core/view/ContentInfoCompat; .locals 1 .param p0 # Landroid/view/View; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # Landroidx/core/view/ContentInfoCompat; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/Nullable; .end annotation .line 3313 invoke-virtual {p1}, Landroidx/core/view/ContentInfoCompat;->toContentInfo()Landroid/view/ContentInfo; move-result-object v0 .line 3314 invoke-virtual {p0, v0}, Landroid/view/View;->performReceiveContent(Landroid/view/ContentInfo;)Landroid/view/ContentInfo; move-result-object p0 if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 if-ne p0, v0, :cond_1 return-object p1 .line 3322 :cond_1 invoke-static {p0}, Landroidx/core/view/ContentInfoCompat;->toContentInfoCompat(Landroid/view/ContentInfo;)Landroidx/core/view/ContentInfoCompat; move-result-object p0 return-object p0 .end method .method public static setOnReceiveContentListener(Landroid/view/View;[Ljava/lang/String;Landroidx/core/view/OnReceiveContentListener;)V .locals 1 .param p0 # Landroid/view/View; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p1 # [Ljava/lang/String; .annotation build Landroidx/annotation/Nullable; .end annotation .end param .param p2 # Landroidx/core/view/OnReceiveContentListener; .annotation build Landroidx/annotation/Nullable; .end annotation .end param if-nez p2, :cond_0 const/4 p2, 0x0 .line 3298 invoke-virtual {p0, p1, p2}, Landroid/view/View;->setOnReceiveContentListener([Ljava/lang/String;Landroid/view/OnReceiveContentListener;)V goto :goto_0 .line 3300 :cond_0 new-instance v0, Landroidx/core/view/ViewCompat$OnReceiveContentListenerAdapter; invoke-direct {v0, p2}, Landroidx/core/view/ViewCompat$OnReceiveContentListenerAdapter;->(Landroidx/core/view/OnReceiveContentListener;)V invoke-virtual {p0, p1, v0}, Landroid/view/View;->setOnReceiveContentListener([Ljava/lang/String;Landroid/view/OnReceiveContentListener;)V :goto_0 return-void .end method