30 lines
734 B
Smali
30 lines
734 B
Smali
.class public final Lcom/discord/utilities/view/layoutparams/LayoutParamsExtensionsKt;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public static final removeRuleCompat(Landroid/widget/RelativeLayout$LayoutParams;I)V
|
|
.locals 2
|
|
|
|
const-string v0, "receiver$0"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x10
|
|
|
|
if-le v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Landroid/widget/RelativeLayout$LayoutParams;->removeRule(I)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
invoke-virtual {p0, p1, v0}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
|
|
|
|
return-void
|
|
.end method
|