granularity level: instruction

		.class public Landroidx/core/app/ActivityCompat;
.super Landroidx/core/content/ContextCompat;
.source "ActivityCompat.java"

.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;,
Landroidx/core/app/ActivityCompat$RequestPermissionsRequestCodeValidator;,
Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;,
Landroidx/core/app/ActivityCompat$OnRequestPermissionsResultCallback;
}
.end annotation

.field private static sDelegate:Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;


.method protected constructor <init>()V
	.locals 0

	invoke-direct {p0}, Landroidx/core/content/ContextCompat;-><init>()V
	return-void
.end method

.method public static finishAffinity(Landroid/app/Activity;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x10
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->finishAffinity()V
	goto :goto_0
	:cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->finish()V
	:goto_0
	return-void
.end method

.method public static finishAfterTransition(Landroid/app/Activity;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x15
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->finishAfterTransition()V
	goto :goto_0
	:cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->finish()V
	:goto_0
	return-void
.end method

.method public static getPermissionCompatDelegate()Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;
	.locals 1

	sget-object v0, Landroidx/core/app/ActivityCompat;->sDelegate:Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;
	return-object v0
.end method

.method public static getReferrer(Landroid/app/Activity;)Landroid/net/Uri;
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x16
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->getReferrer()Landroid/net/Uri;
	move-result-object p0
	return-object p0
	:cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;
	move-result-object p0
	const-string v0, "android.intent.extra.REFERRER"
	invoke-virtual {p0, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable;
	move-result-object v0
	check-cast v0, Landroid/net/Uri;
	if-eqz v0, :cond_1
	return-object v0
	:cond_1
	const-string v0, "android.intent.extra.REFERRER_NAME"
	invoke-virtual {p0, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object p0
	if-eqz p0, :cond_2
	invoke-static {p0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
	move-result-object p0
	return-object p0
	:cond_2
	const/4 p0, 0x0
	return-object p0
.end method

.method public static invalidateOptionsMenu(Landroid/app/Activity;)Z
	.locals 0
	.annotation runtime Ljava/lang/Deprecated;
	.end annotation

	invoke-virtual {p0}, Landroid/app/Activity;->invalidateOptionsMenu()V
	const/4 p0, 0x1
	return p0
.end method

.method public static postponeEnterTransition(Landroid/app/Activity;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x15
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->postponeEnterTransition()V
	:cond_0
	return-void
.end method

.method public static recreate(Landroid/app/Activity;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x1c
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->recreate()V
	goto :goto_0
	:cond_0
	invoke-static {p0}, Landroidx/core/app/ActivityRecreator;->recreate(Landroid/app/Activity;)Z
	move-result v0
	if-nez v0, :cond_1
	invoke-virtual {p0}, Landroid/app/Activity;->recreate()V
	:cond_1
	:goto_0
	return-void
.end method

.method public static requestDragAndDropPermissions(Landroid/app/Activity;Landroid/view/DragEvent;)Landroidx/core/view/DragAndDropPermissionsCompat;
	.locals 0

	invoke-static {p0, p1}, Landroidx/core/view/DragAndDropPermissionsCompat;->request(Landroid/app/Activity;Landroid/view/DragEvent;)Landroidx/core/view/DragAndDropPermissionsCompat;
	move-result-object p0
	return-object p0
.end method

.method public static requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)V
	.locals 2

	sget-object v0, Landroidx/core/app/ActivityCompat;->sDelegate:Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;
	if-eqz v0, :cond_0
	invoke-interface {v0, p0, p1, p2}, Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;->requestPermissions(Landroid/app/Activity;[Ljava/lang/String;I)Z
	move-result v0
	if-eqz v0, :cond_0
	return-void
	:cond_0
	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x17
	if-lt v0, v1, :cond_2
	instance-of v0, p0, Landroidx/core/app/ActivityCompat$RequestPermissionsRequestCodeValidator;
	if-eqz v0, :cond_1
	move-object v0, p0
	check-cast v0, Landroidx/core/app/ActivityCompat$RequestPermissionsRequestCodeValidator;
	invoke-interface {v0, p2}, Landroidx/core/app/ActivityCompat$RequestPermissionsRequestCodeValidator;->validateRequestPermissionsRequestCode(I)V
	:cond_1
	invoke-virtual {p0, p1, p2}, Landroid/app/Activity;->requestPermissions([Ljava/lang/String;I)V
	goto :goto_0
	:cond_2
	instance-of v0, p0, Landroidx/core/app/ActivityCompat$OnRequestPermissionsResultCallback;
	if-eqz v0, :cond_3
	new-instance v0, Landroid/os/Handler;
	invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
	move-result-object v1
	invoke-direct {v0, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
	new-instance v1, Landroidx/core/app/ActivityCompat$1;
	invoke-direct {v1, p1, p0, p2}, Landroidx/core/app/ActivityCompat$1;-><init>([Ljava/lang/String;Landroid/app/Activity;I)V
	invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
	:cond_3
	:goto_0
	return-void
.end method

.method public static requireViewById(Landroid/app/Activity;I)Landroid/view/View;
	.locals 2
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T:",
	"Landroid/view/View;",
	">(",
	"Landroid/app/Activity;",
	"I)TT;"
	}
	.end annotation

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x1c
	if-lt v0, v1, :cond_0
	invoke-virtual {p0, p1}, Landroid/app/Activity;->requireViewById(I)Landroid/view/View;
	move-result-object p0
	return-object p0
	:cond_0
	invoke-virtual {p0, p1}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
	move-result-object p0
	if-eqz p0, :cond_1
	return-object p0
	:cond_1
	new-instance p0, Ljava/lang/IllegalArgumentException;
	const-string p1, "ID does not reference a View inside this Activity"
	invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
	throw p0
.end method

.method public static setEnterSharedElementCallback(Landroid/app/Activity;Landroidx/core/app/SharedElementCallback;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x15
	if-lt v0, v1, :cond_1
	if-eqz p1, :cond_0
	new-instance v0, Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;
	invoke-direct {v0, p1}, Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;-><init>(Landroidx/core/app/SharedElementCallback;)V
	goto :goto_0
	:cond_0
	const/4 v0, 0x0
	:goto_0
	invoke-virtual {p0, v0}, Landroid/app/Activity;->setEnterSharedElementCallback(Landroid/app/SharedElementCallback;)V
	:cond_1
	return-void
.end method

.method public static setExitSharedElementCallback(Landroid/app/Activity;Landroidx/core/app/SharedElementCallback;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x15
	if-lt v0, v1, :cond_1
	if-eqz p1, :cond_0
	new-instance v0, Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;
	invoke-direct {v0, p1}, Landroidx/core/app/ActivityCompat$SharedElementCallback21Impl;-><init>(Landroidx/core/app/SharedElementCallback;)V
	goto :goto_0
	:cond_0
	const/4 v0, 0x0
	:goto_0
	invoke-virtual {p0, v0}, Landroid/app/Activity;->setExitSharedElementCallback(Landroid/app/SharedElementCallback;)V
	:cond_1
	return-void
.end method

.method public static setPermissionCompatDelegate(Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;)V
	.locals 0

	sput-object p0, Landroidx/core/app/ActivityCompat;->sDelegate:Landroidx/core/app/ActivityCompat$PermissionCompatDelegate;
	return-void
.end method

.method public static shouldShowRequestPermissionRationale(Landroid/app/Activity;Ljava/lang/String;)Z
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x17
	if-lt v0, v1, :cond_0
	invoke-virtual {p0, p1}, Landroid/app/Activity;->shouldShowRequestPermissionRationale(Ljava/lang/String;)Z
	move-result p0
	return p0
	:cond_0
	const/4 p0, 0x0
	return p0
.end method

.method public static startActivityForResult(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x10
	if-lt v0, v1, :cond_0
	invoke-virtual {p0, p1, p2, p3}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;ILandroid/os/Bundle;)V
	goto :goto_0
	:cond_0
	invoke-virtual {p0, p1, p2}, Landroid/app/Activity;->startActivityForResult(Landroid/content/Intent;I)V
	:goto_0
	return-void
.end method

.method public static startIntentSenderForResult(Landroid/app/Activity;Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
	.locals 2
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Landroid/content/IntentSender$SendIntentException;
	}
	.end annotation

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x10
	if-lt v0, v1, :cond_0
	invoke-virtual/range {p0 .. p7}, Landroid/app/Activity;->startIntentSenderForResult(Landroid/content/IntentSender;ILandroid/content/Intent;IIILandroid/os/Bundle;)V
	goto :goto_0
	:cond_0
	invoke-virtual/range {p0 .. p6}, Landroid/app/Activity;->startIntentSenderForResult(Landroid/content/IntentSender;ILandroid/content/Intent;III)V
	:goto_0
	return-void
.end method

.method public static startPostponedEnterTransition(Landroid/app/Activity;)V
	.locals 2

	sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v1, 0x15
	if-lt v0, v1, :cond_0
	invoke-virtual {p0}, Landroid/app/Activity;->startPostponedEnterTransition()V
	:cond_0
	return-void
.end method