.class Landroidx/core/content/ContextCompat$Api26Impl; .super Ljava/lang/Object; .source "SourceFile" # annotations .annotation build Landroidx/annotation/RequiresApi; value = 0x1a .end annotation .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/core/content/ContextCompat; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "Api26Impl" .end annotation # direct methods .method private constructor ()V .locals 0 .line 1113 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static registerReceiver(Landroid/content/Context;Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent; .locals 6 .param p1 # Landroid/content/BroadcastReceiver; .annotation build Landroidx/annotation/Nullable; .end annotation .end param and-int/lit8 v0, p5, 0x4 if-eqz v0, :cond_0 if-nez p3, :cond_0 .line 1120 invoke-static {p0}, Landroidx/core/content/ContextCompat;->obtainAndCheckReceiverPermission(Landroid/content/Context;)Ljava/lang/String; move-result-object p3 .line 1122 invoke-virtual {p0, p1, p2, p3, p4}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent; move-result-object p0 return-object p0 :cond_0 and-int/lit8 v5, p5, 0x1 move-object v0, p0 move-object v1, p1 move-object v2, p2 move-object v3, p3 move-object v4, p4 .line 1125 invoke-virtual/range {v0 .. v5}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent; move-result-object p0 return-object p0 .end method .method public static startForegroundService(Landroid/content/Context;Landroid/content/Intent;)Landroid/content/ComponentName; .locals 0 .line 1130 invoke-virtual {p0, p1}, Landroid/content/Context;->startForegroundService(Landroid/content/Intent;)Landroid/content/ComponentName; move-result-object p0 return-object p0 .end method