Changes of com.discord v1271
This commit is contained in:
parent
2e142f9b6b
commit
4244e04c36
14542 changed files with 904422 additions and 1057813 deletions
|
@ -7,13 +7,11 @@
|
|||
.method public static final a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
|
||||
.locals 1
|
||||
|
||||
const-string v0, "context"
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
if-eqz p0, :cond_1
|
||||
|
||||
const-string v0, "text"
|
||||
|
||||
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-virtual {p0, p2}, Landroid/content/Context;->getString(I)Ljava/lang/String;
|
||||
|
||||
|
@ -21,63 +19,83 @@
|
|||
|
||||
const-string v0, "context.getString(toastResId)"
|
||||
|
||||
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
invoke-static {p2, v0}, Lk0/n/c/h;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {p0, p1, p2}, Lf/a/b/p;->b(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/String;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p0, "text"
|
||||
|
||||
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_1
|
||||
const-string p0, "context"
|
||||
|
||||
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public static final b(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/String;)V
|
||||
.locals 3
|
||||
|
||||
const-string v0, "context"
|
||||
const/4 v0, 0x0
|
||||
|
||||
invoke-static {p0, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
if-eqz p1, :cond_3
|
||||
|
||||
const-string v0, "text"
|
||||
if-eqz p2, :cond_2
|
||||
|
||||
invoke-static {p1, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
const-string v1, "clipboard"
|
||||
|
||||
const-string v0, "toastText"
|
||||
invoke-virtual {p0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
||||
|
||||
invoke-static {p2, v0}, Lk0/n/c/i;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
move-result-object v1
|
||||
|
||||
const-string v0, "clipboard"
|
||||
instance-of v2, v1, Landroid/content/ClipboardManager;
|
||||
|
||||
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
||||
if-nez v2, :cond_0
|
||||
|
||||
move-result-object v0
|
||||
|
||||
instance-of v1, v0, Landroid/content/ClipboardManager;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
if-nez v1, :cond_0
|
||||
|
||||
move-object v0, v2
|
||||
move-object v1, v0
|
||||
|
||||
:cond_0
|
||||
check-cast v0, Landroid/content/ClipboardManager;
|
||||
check-cast v1, Landroid/content/ClipboardManager;
|
||||
|
||||
const-string v1, ""
|
||||
const-string v2, ""
|
||||
|
||||
invoke-static {v1, p1}, Landroid/content/ClipData;->newPlainText(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/content/ClipData;
|
||||
invoke-static {v2, p1}, Landroid/content/ClipData;->newPlainText(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Landroid/content/ClipData;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
if-eqz v1, :cond_1
|
||||
|
||||
invoke-virtual {v0, p1}, Landroid/content/ClipboardManager;->setPrimaryClip(Landroid/content/ClipData;)V
|
||||
invoke-virtual {v1, p1}, Landroid/content/ClipboardManager;->setPrimaryClip(Landroid/content/ClipData;)V
|
||||
|
||||
:cond_1
|
||||
const/4 p1, 0x0
|
||||
|
||||
const/16 v0, 0xc
|
||||
const/16 v1, 0xc
|
||||
|
||||
invoke-static {p0, p2, p1, v2, v0}, Lf/a/b/p;->k(Landroid/content/Context;Ljava/lang/CharSequence;ILcom/discord/utilities/view/ToastManager;I)V
|
||||
invoke-static {p0, p2, p1, v0, v1}, Lf/a/b/p;->k(Landroid/content/Context;Ljava/lang/CharSequence;ILcom/discord/utilities/view/ToastManager;I)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_2
|
||||
const-string p0, "toastText"
|
||||
|
||||
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_3
|
||||
const-string p0, "text"
|
||||
|
||||
invoke-static {p0}, Lk0/n/c/h;->c(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
||||
|
||||
.method public static synthetic c(Landroid/content/Context;Ljava/lang/CharSequence;II)V
|
||||
|
@ -87,7 +105,7 @@
|
|||
|
||||
if-eqz p3, :cond_0
|
||||
|
||||
const p2, 0x7f1204e7
|
||||
const p2, 0x7f1204d4
|
||||
|
||||
:cond_0
|
||||
invoke-static {p0, p1, p2}, Lf/a/b/p;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V
|
||||
|
@ -148,7 +166,7 @@
|
|||
|
||||
new-instance v1, Landroid/view/ContextThemeWrapper;
|
||||
|
||||
const v2, 0x7f130373
|
||||
const v2, 0x7f130371
|
||||
|
||||
invoke-direct {v1, p0, v2}, Landroid/view/ContextThemeWrapper;-><init>(Landroid/content/Context;I)V
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue