RxPermissions2$2$1.smali
.class Lcom/sandboxol/common/utils/RxPermissions2$2$1;
.super Ljava/lang/Object;
.source "RxPermissions2.java"
# interfaces
.implements Lio/reactivex/b/o;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/common/utils/RxPermissions2$2;->apply(Lio/reactivex/p;)Lio/reactivex/u;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lio/reactivex/b/o<",
"Ljava/util/List<",
"Lcom/tbruyelle/rxpermissions2/e;",
">;",
"Lio/reactivex/u<",
"Ljava/lang/Boolean;",
">;>;"
}
.end annotation
# instance fields
.field final synthetic this$1:Lcom/sandboxol/common/utils/RxPermissions2$2;
# direct methods
.method constructor <init>(Lcom/sandboxol/common/utils/RxPermissions2$2;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/common/utils/RxPermissions2$2$1;->this$1:Lcom/sandboxol/common/utils/RxPermissions2$2;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public apply(Ljava/util/List;)Lio/reactivex/u;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lcom/tbruyelle/rxpermissions2/e;",
">;)",
"Lio/reactivex/u<",
"Ljava/lang/Boolean;",
">;"
}
.end annotation
.line 2
invoke-interface {p1}, Ljava/util/List;->isEmpty()Z
move-result v0
if-eqz v0, :cond_b
.line 3
invoke-static {}, Lio/reactivex/p;->empty()Lio/reactivex/p;
move-result-object p1
return-object p1
.line 4
:cond_b
invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;
move-result-object p1
.line 5
:cond_f
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-nez v0, :cond_1f
const/4 p1, 0x1
.line 6
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
invoke-static {p1}, Lio/reactivex/p;->just(Ljava/lang/Object;)Lio/reactivex/p;
move-result-object p1
return-object p1
.line 7
:cond_1f
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/tbruyelle/rxpermissions2/e;
.line 8
iget-boolean v0, v0, Lcom/tbruyelle/rxpermissions2/e;->b:Z
if-nez v0, :cond_f
const/4 p1, 0x0
.line 9
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
invoke-static {p1}, Lio/reactivex/p;->just(Ljava/lang/Object;)Lio/reactivex/p;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic apply(Ljava/lang/Object;)Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
check-cast p1, Ljava/util/List;
invoke-virtual {p0, p1}, Lcom/sandboxol/common/utils/RxPermissions2$2$1;->apply(Ljava/util/List;)Lio/reactivex/u;
move-result-object p1
return-object p1
.end method