Changes of com.discord v1127
This commit is contained in:
parent
1ee8238ad4
commit
dd34a72e66
34 changed files with 1116 additions and 782 deletions
|
@ -1,5 +1,5 @@
|
|||
!!brut.androlib.meta.MetaInfo
|
||||
apkFileName: com.discord-1126.apk
|
||||
apkFileName: com.discord-1127.apk
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- arsc
|
||||
|
@ -190,5 +190,5 @@ usesFramework:
|
|||
tag: null
|
||||
version: 2.4.1-197d46-SNAPSHOT
|
||||
versionInfo:
|
||||
versionCode: '1126'
|
||||
versionName: '20.4'
|
||||
versionCode: '1127'
|
||||
versionName: '20.5'
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#
|
||||
#Do NOT modify, delete, or commit to source control!
|
||||
#
|
||||
#Fri May 01 19:20:21 UTC 2020
|
||||
version_name=20.4
|
||||
#Mon May 04 17:07:55 UTC 2020
|
||||
version_name=20.5
|
||||
package_name=com.discord
|
||||
build_id=14e9abba-e03a-43fa-b7ea-0e2eb74cc8ef
|
||||
version_code=1126
|
||||
build_id=84d5965c-42eb-4b3f-bf12-da42b3880483
|
||||
version_code=1127
|
||||
app_name=com.discord
|
||||
|
|
Binary file not shown.
|
@ -1055,7 +1055,7 @@ Last month, in response to COVID-19, we upped the Go Live viewer limit from 10 t
|
|||
<string name="cloud_sync_modal_or">OR</string>
|
||||
<string name="collapse">Collapse</string>
|
||||
<string name="collapse_category">Collapse Category</string>
|
||||
<string name="com.crashlytics.android.build_id">14e9abba-e03a-43fa-b7ea-0e2eb74cc8ef</string>
|
||||
<string name="com.crashlytics.android.build_id">84d5965c-42eb-4b3f-bf12-da42b3880483</string>
|
||||
<string name="coming_soon">Coming Soon</string>
|
||||
<string name="command_giphy_description">Search Animated GIFs on the Web</string>
|
||||
<string name="command_me_description">Displays text with emphasis.</string>
|
||||
|
|
|
@ -40,11 +40,11 @@
|
|||
|
||||
.field public static final SAMSUNGxDISCORD_CLIENT_ID:Ljava/lang/String; = "97t47j218f"
|
||||
|
||||
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1126"
|
||||
.field public static final USER_AGENT:Ljava/lang/String; = "Discord-Android/1127"
|
||||
|
||||
.field public static final VERSION_CODE:I = 0x466
|
||||
.field public static final VERSION_CODE:I = 0x467
|
||||
|
||||
.field public static final VERSION_NAME:Ljava/lang/String; = "20.4"
|
||||
.field public static final VERSION_NAME:Ljava/lang/String; = "20.5"
|
||||
|
||||
|
||||
# direct methods
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
.field public final e:Le/k/a/b/v0;
|
||||
|
||||
.field public final f:Le/a/e/g;
|
||||
.field public final f:Le/a/e/k;
|
||||
|
||||
.field public final g:Le/k/a/b/k1/l$a;
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
|||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Le/k/a/b/v0;Le/a/e/g;Le/k/a/b/k1/l$a;Lrx/Scheduler;Lcom/discord/utilities/logging/Logger;)V
|
||||
.method public constructor <init>(Le/k/a/b/v0;Le/a/e/k;Le/k/a/b/k1/l$a;Lrx/Scheduler;Lcom/discord/utilities/logging/Logger;)V
|
||||
.locals 1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
@ -67,7 +67,7 @@
|
|||
|
||||
iput-object p1, p0, Lcom/discord/player/AppMediaPlayer;->e:Le/k/a/b/v0;
|
||||
|
||||
iput-object p2, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/g;
|
||||
iput-object p2, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/k;
|
||||
|
||||
iput-object p3, p0, Lcom/discord/player/AppMediaPlayer;->g:Le/k/a/b/k1/l$a;
|
||||
|
||||
|
@ -109,19 +109,23 @@
|
|||
|
||||
iput-object p1, p0, Lcom/discord/player/AppMediaPlayer;->d:Lrx/subjects/BehaviorSubject;
|
||||
|
||||
iget-object p1, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/g;
|
||||
iget-object p1, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/k;
|
||||
|
||||
iget-object p1, p1, Le/a/e/g;->d:Lrx/subjects/PublishSubject;
|
||||
iget-object p1, p1, Le/a/e/k;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
const-string p2, "playerStateChangeSubject"
|
||||
|
||||
invoke-static {p1, p2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p2, Le/a/e/c;
|
||||
new-instance p2, Le/a/e/e;
|
||||
|
||||
invoke-direct {p2, p0}, Le/a/e/c;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
invoke-direct {p2, p0}, Le/a/e/e;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {p1, p2}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
|
||||
new-instance p3, Le/a/e/f;
|
||||
|
||||
invoke-direct {p3, p0}, Le/a/e/f;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -129,9 +133,9 @@
|
|||
|
||||
invoke-virtual {p2, p1}, Lrx/subscriptions/CompositeSubscription;->a(Lrx/Subscription;)V
|
||||
|
||||
iget-object p1, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/g;
|
||||
iget-object p1, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/k;
|
||||
|
||||
iget-object p1, p1, Le/a/e/g;->e:Lrx/subjects/PublishSubject;
|
||||
iget-object p1, p1, Le/a/e/k;->e:Lrx/subjects/PublishSubject;
|
||||
|
||||
const-string p2, "isPlayingChangeSubject"
|
||||
|
||||
|
@ -141,7 +145,11 @@
|
|||
|
||||
invoke-direct {p2, p0}, Le/a/e/a;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {p1, p2}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
|
||||
new-instance p3, Le/a/e/b;
|
||||
|
||||
invoke-direct {p3, p0}, Le/a/e/b;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
@ -149,19 +157,23 @@
|
|||
|
||||
invoke-virtual {p2, p1}, Lrx/subscriptions/CompositeSubscription;->a(Lrx/Subscription;)V
|
||||
|
||||
iget-object p1, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/g;
|
||||
iget-object p1, p0, Lcom/discord/player/AppMediaPlayer;->f:Le/a/e/k;
|
||||
|
||||
iget-object p1, p1, Le/a/e/g;->f:Lrx/subjects/PublishSubject;
|
||||
iget-object p1, p1, Le/a/e/k;->f:Lrx/subjects/PublishSubject;
|
||||
|
||||
const-string p2, "playerErrorSubject"
|
||||
|
||||
invoke-static {p1, p2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance p2, Le/a/e/b;
|
||||
new-instance p2, Le/a/e/c;
|
||||
|
||||
invoke-direct {p2, p0}, Le/a/e/b;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
invoke-direct {p2, p0}, Le/a/e/c;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {p1, p2}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
|
||||
new-instance p3, Le/a/e/d;
|
||||
|
||||
invoke-direct {p3, p0}, Le/a/e/d;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {p1, p2, p3}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
invoke-direct {p0}, Lcom/discord/stores/Store;-><init>()V
|
||||
|
||||
const/16 v0, 0x466
|
||||
const/16 v0, 0x467
|
||||
|
||||
iput v0, p0, Lcom/discord/stores/StoreClientVersion;->clientVersion:I
|
||||
|
||||
|
|
|
@ -181,7 +181,7 @@
|
|||
|
||||
const-string v3, "browser_user_agent"
|
||||
|
||||
const-string v4, "Discord-Android/1126"
|
||||
const-string v4, "Discord-Android/1127"
|
||||
|
||||
invoke-direct {v2, v3, v4}, Lkotlin/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
|
||||
|
||||
|
@ -189,7 +189,7 @@
|
|||
|
||||
const/4 v1, 0x2
|
||||
|
||||
const/16 v2, 0x466
|
||||
const/16 v2, 0x467
|
||||
|
||||
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
||||
|
||||
|
@ -205,7 +205,7 @@
|
|||
|
||||
const/4 v1, 0x3
|
||||
|
||||
const-string v2, "20.4"
|
||||
const-string v2, "20.5"
|
||||
|
||||
const-string v3, ""
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@
|
|||
.method public getUserAgent()Ljava/lang/String;
|
||||
.locals 1
|
||||
|
||||
const-string v0, "Discord-Android/1126"
|
||||
const-string v0, "Discord-Android/1127"
|
||||
|
||||
return-object v0
|
||||
.end method
|
||||
|
|
|
@ -961,7 +961,7 @@
|
|||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
sget-object v0, Le/a/e/e;->a:Le/a/e/e;
|
||||
sget-object v0, Le/a/e/i;->a:Le/a/e/i;
|
||||
|
||||
invoke-virtual {p1}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||||
|
||||
|
@ -971,7 +971,7 @@
|
|||
|
||||
invoke-static {p1, v1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v0, p1}, Le/a/e/e;->a(Landroid/content/Context;)Lcom/discord/player/AppMediaPlayer;
|
||||
invoke-virtual {v0, p1}, Le/a/e/i;->a(Landroid/content/Context;)Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -492,7 +492,7 @@
|
|||
|
||||
new-array v1, v2, [Ljava/lang/Object;
|
||||
|
||||
const-string v3, "20.4"
|
||||
const-string v3, "20.5"
|
||||
|
||||
aput-object v3, v1, v4
|
||||
|
||||
|
|
|
@ -642,7 +642,7 @@
|
|||
|
||||
iput-object p1, p0, Lcom/discord/widgets/media/WidgetMedia;->viewModel:Lcom/discord/widgets/media/WidgetMediaViewModel;
|
||||
|
||||
sget-object p1, Le/a/e/e;->a:Le/a/e/e;
|
||||
sget-object p1, Le/a/e/i;->a:Le/a/e/i;
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->requireContext()Landroid/content/Context;
|
||||
|
||||
|
@ -652,7 +652,7 @@
|
|||
|
||||
invoke-static {v0, v1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {p1, v0}, Le/a/e/e;->a(Landroid/content/Context;)Lcom/discord/player/AppMediaPlayer;
|
||||
invoke-virtual {p1, v0}, Le/a/e/i;->a(Landroid/content/Context;)Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
move-result-object p1
|
||||
|
||||
|
|
|
@ -1989,7 +1989,7 @@
|
|||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
const-string v0, " - 20.4 (1126)"
|
||||
const-string v0, " - 20.5 (1127)"
|
||||
|
||||
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Le/a/e/g$a;",
|
||||
"Le/a/e/k$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -40,9 +40,9 @@
|
|||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 1
|
||||
|
||||
check-cast p1, Le/a/e/g$a;
|
||||
check-cast p1, Le/a/e/k$a;
|
||||
|
||||
iget-boolean p1, p1, Le/a/e/g$a;->a:Z
|
||||
iget-boolean p1, p1, Le/a/e/k$a;->a:Z
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Le/a/e/g$b;",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -38,29 +38,25 @@
|
|||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 3
|
||||
.locals 6
|
||||
|
||||
check-cast p1, Le/a/e/g$b;
|
||||
move-object v2, p1
|
||||
|
||||
iget-object v0, p0, Le/a/e/b;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
check-cast v2, Ljava/lang/Throwable;
|
||||
|
||||
iget-object v0, v0, Lcom/discord/player/AppMediaPlayer;->i:Lcom/discord/utilities/logging/Logger;
|
||||
iget-object p1, p0, Le/a/e/b;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
const-class v1, Lcom/discord/player/AppMediaPlayer;
|
||||
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
const/4 v3, 0x0
|
||||
|
||||
move-result-object v1
|
||||
const/4 v4, 0x4
|
||||
|
||||
const-string v2, "javaClass.simpleName"
|
||||
const/4 v5, 0x0
|
||||
|
||||
invoke-static {v1, v2}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
const-string v1, "error while listening to isPlayingChanges"
|
||||
|
||||
iget-object p1, p1, Le/a/e/g$b;->a:Le/k/a/b/z;
|
||||
|
||||
const-string v2, "playback error"
|
||||
|
||||
invoke-virtual {v0, v1, v2, p1}, Lcom/discord/utilities/logging/Logger;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Le/a/e/g$c;",
|
||||
"Le/a/e/k$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -38,109 +38,35 @@
|
|||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 7
|
||||
.locals 8
|
||||
|
||||
check-cast p1, Le/a/e/g$c;
|
||||
check-cast p1, Le/a/e/k$b;
|
||||
|
||||
iget p1, p1, Le/a/e/g$c;->b:I
|
||||
iget-object v0, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
const/4 v0, 0x2
|
||||
iget-object v1, v0, Lcom/discord/player/AppMediaPlayer;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
if-eq p1, v0, :cond_4
|
||||
const-class v0, Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
const/4 v0, 0x3
|
||||
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
||||
|
||||
if-eq p1, v0, :cond_2
|
||||
move-result-object v2
|
||||
|
||||
const/4 v0, 0x4
|
||||
const-string v0, "javaClass.simpleName"
|
||||
|
||||
if-eq p1, v0, :cond_0
|
||||
invoke-static {v2, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
goto :goto_0
|
||||
iget-object v4, p1, Le/a/e/k$b;->a:Le/k/a/b/z;
|
||||
|
||||
:cond_0
|
||||
iget-object p1, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
const/4 v5, 0x0
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
|
||||
const/16 v6, 0x8
|
||||
|
||||
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$e;->a:Lcom/discord/player/AppMediaPlayer$Event$e;
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
const-string v3, "playback error"
|
||||
|
||||
iget-object p1, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
invoke-static/range {v1 .. v7}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/player/AppMediaPlayer;->a(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$a;->a:Lcom/discord/player/AppMediaPlayer$Event$a;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_3
|
||||
const-wide/16 v3, 0x1f4
|
||||
|
||||
sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
iget-object v6, p1, Lcom/discord/player/AppMediaPlayer;->h:Lrx/Scheduler;
|
||||
|
||||
move-wide v1, v3
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lrx/Observable;->a(JJLjava/util/concurrent/TimeUnit;Lrx/Scheduler;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {}, Lf0/j/b/a;->a()Lrx/Scheduler;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Scheduler;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Le/a/e/d;
|
||||
|
||||
invoke-direct {v1, p1}, Le/a/e/d;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->c(Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
iget-object p1, p0, Le/a/e/c;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$b;->a:Lcom/discord/player/AppMediaPlayer$Event$b;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
:goto_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Ljava/lang/Long;",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
@ -38,13 +38,25 @@
|
|||
|
||||
# virtual methods
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
.locals 6
|
||||
|
||||
check-cast p1, Ljava/lang/Long;
|
||||
move-object v2, p1
|
||||
|
||||
check-cast v2, Ljava/lang/Throwable;
|
||||
|
||||
iget-object p1, p0, Le/a/e/d;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/player/AppMediaPlayer;->a(Lcom/discord/player/AppMediaPlayer;)V
|
||||
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
const/4 v3, 0x0
|
||||
|
||||
const/4 v4, 0x4
|
||||
|
||||
const/4 v5, 0x0
|
||||
|
||||
const-string v1, "error while listening to player errors"
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -1,28 +1,35 @@
|
|||
.class public final Le/a/e/e;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AppMediaPlayerFactory.kt"
|
||||
.source "AppMediaPlayer.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Le/a/e/e;
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Le/a/e/k$c;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Le/a/e/e;
|
||||
|
||||
invoke-direct {v0}, Le/a/e/e;-><init>()V
|
||||
|
||||
sput-object v0, Le/a/e/e;->a:Le/a/e/e;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.method public constructor <init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
|
@ -30,284 +37,114 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;)Lcom/discord/player/AppMediaPlayer;
|
||||
.locals 24
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 7
|
||||
|
||||
move-object/from16 v1, p1
|
||||
check-cast p1, Le/a/e/k$c;
|
||||
|
||||
const/4 v0, 0x0
|
||||
iget p1, p1, Le/a/e/k$c;->b:I
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
const/4 v0, 0x2
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
if-eq p1, v0, :cond_4
|
||||
|
||||
if-eqz v9, :cond_1
|
||||
const/4 v0, 0x3
|
||||
|
||||
new-instance v0, Le/k/a/b/k1/r;
|
||||
if-eq p1, v0, :cond_2
|
||||
|
||||
const-string v2, "com.discord"
|
||||
const/4 v0, 0x4
|
||||
|
||||
invoke-static {v1, v2}, Le/k/a/b/l1/f0;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {v0, v1, v2}, Le/k/a/b/k1/r;-><init>(Landroid/content/Context;Ljava/lang/String;)V
|
||||
|
||||
new-instance v10, Le/a/e/f;
|
||||
|
||||
const-wide/32 v2, 0x6400000
|
||||
|
||||
invoke-direct {v10, v0, v2, v3}, Le/a/e/f;-><init>(Le/k/a/b/k1/r;J)V
|
||||
|
||||
new-instance v11, Le/a/e/g;
|
||||
|
||||
invoke-direct {v11}, Le/a/e/g;-><init>()V
|
||||
|
||||
const/16 v19, -0x1
|
||||
|
||||
const/16 v20, 0x1
|
||||
|
||||
const/16 v22, 0x0
|
||||
|
||||
const/16 v0, 0x2710
|
||||
|
||||
const/16 v2, 0x7530
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
const-string v4, "bufferForPlaybackMs"
|
||||
|
||||
const-string v5, "0"
|
||||
|
||||
const/16 v6, 0x9c4
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static {v6, v7, v4, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v8, "bufferForPlaybackAfterRebufferMs"
|
||||
|
||||
const/16 v15, 0x1388
|
||||
|
||||
invoke-static {v15, v7, v8, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v12, "minBufferMs"
|
||||
|
||||
invoke-static {v0, v6, v12, v4}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v15, v12, v8}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v14, "maxBufferMs"
|
||||
|
||||
invoke-static {v2, v0, v14, v12}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
new-instance v13, Le/k/a/b/k1/o;
|
||||
|
||||
const/high16 v0, 0x10000
|
||||
|
||||
invoke-direct {v13, v3, v0}, Le/k/a/b/k1/o;-><init>(ZI)V
|
||||
|
||||
new-instance v2, Le/k/a/b/w;
|
||||
|
||||
const/16 v0, 0x2710
|
||||
|
||||
const/16 v16, 0x7530
|
||||
|
||||
const/16 v17, 0x9c4
|
||||
|
||||
const/16 v18, 0x1388
|
||||
|
||||
move-object v12, v2
|
||||
|
||||
move-object/from16 v23, v14
|
||||
|
||||
move v14, v0
|
||||
|
||||
move v15, v0
|
||||
|
||||
move/from16 v21, v22
|
||||
|
||||
invoke-direct/range {v12 .. v22}, Le/k/a/b/w;-><init>(Le/k/a/b/k1/o;IIIIIIZIZ)V
|
||||
|
||||
const-string v0, "DefaultLoadControl.Build\u2026reateDefaultLoadControl()"
|
||||
|
||||
invoke-static {v2, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v12, Le/k/a/b/y;
|
||||
|
||||
invoke-direct {v12, v1}, Le/k/a/b/y;-><init>(Landroid/content/Context;)V
|
||||
|
||||
new-instance v13, Lcom/google/android/exoplayer2/trackselection/DefaultTrackSelector;
|
||||
|
||||
invoke-direct {v13, v1}, Lcom/google/android/exoplayer2/trackselection/DefaultTrackSelector;-><init>(Landroid/content/Context;)V
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->a(Z)V
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->a(Z)V
|
||||
|
||||
const/16 v0, 0x3a98
|
||||
|
||||
invoke-static {v6, v7, v4, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const/16 v14, 0x1388
|
||||
|
||||
invoke-static {v14, v7, v8, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v15, "minBufferAudioMs"
|
||||
|
||||
invoke-static {v0, v6, v15, v4}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "minBufferVideoMs"
|
||||
|
||||
const v7, 0xc350
|
||||
|
||||
invoke-static {v7, v6, v3, v4}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v14, v15, v8}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v7, v14, v3, v8}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
move-object/from16 v4, v23
|
||||
|
||||
invoke-static {v7, v0, v4, v15}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v7, v7, v4, v3}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "backBufferDurationMs"
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
invoke-static {v4, v4, v3, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
int-to-long v4, v0
|
||||
|
||||
invoke-static {v4, v5}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v7
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v7
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v6
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v14
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
int-to-long v3, v0
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
invoke-static/range {p1 .. p1}, Le/k/a/b/k1/p;->a(Landroid/content/Context;)Le/k/a/b/k1/p;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
if-eq p1, v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
||||
iget-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$e;->a:Lcom/discord/player/AppMediaPlayer$Event$e;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
|
||||
|
||||
if-eqz p1, :cond_1
|
||||
|
||||
invoke-interface {p1}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_1
|
||||
iget-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/player/AppMediaPlayer;->a(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_2
|
||||
iget-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$a;->a:Lcom/discord/player/AppMediaPlayer$Event$a;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
iget-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
|
||||
invoke-interface {v0}, Lrx/Subscription;->unsubscribe()V
|
||||
|
||||
:cond_3
|
||||
const-wide/16 v3, 0x1f4
|
||||
|
||||
sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
||||
|
||||
iget-object v6, p1, Lcom/discord/player/AppMediaPlayer;->h:Lrx/Scheduler;
|
||||
|
||||
move-wide v1, v3
|
||||
|
||||
invoke-static/range {v1 .. v6}, Lrx/Observable;->a(JJLjava/util/concurrent/TimeUnit;Lrx/Scheduler;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
invoke-static {}, Lf0/j/b/a;->a()Lrx/Scheduler;
|
||||
|
||||
move-result-object v1
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/Observable;->a(Lrx/Scheduler;)Lrx/Observable;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
new-instance v1, Le/a/e/g;
|
||||
|
||||
invoke-direct {v1, p1}, Le/a/e/g;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
new-instance v2, Le/a/e/h;
|
||||
|
||||
invoke-direct {v2, p1}, Le/a/e/h;-><init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
invoke-virtual {v0, v1, v2}, Lrx/Observable;->a(Lrx/functions/Action1;Lrx/functions/Action1;)Lrx/Subscription;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p1, Lcom/discord/player/AppMediaPlayer;->b:Lrx/Subscription;
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_4
|
||||
iget-object p1, p0, Le/a/e/e;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
iget-object p1, p1, Lcom/discord/player/AppMediaPlayer;->a:Lrx/subjects/PublishSubject;
|
||||
|
||||
sget-object v0, Lcom/discord/player/AppMediaPlayer$Event$b;->a:Lcom/discord/player/AppMediaPlayer$Event$b;
|
||||
|
||||
invoke-virtual {p1, v0}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
:goto_0
|
||||
move-object v8, v0
|
||||
|
||||
new-instance v6, Le/k/a/b/y0/a;
|
||||
|
||||
sget-object v0, Le/k/a/b/l1/g;->a:Le/k/a/b/l1/g;
|
||||
|
||||
invoke-direct {v6, v0}, Le/k/a/b/y0/a;-><init>(Le/k/a/b/l1/g;)V
|
||||
|
||||
sget-object v7, Le/k/a/b/l1/g;->a:Le/k/a/b/l1/g;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-static {v0}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
invoke-static {v0}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
new-instance v14, Le/k/a/b/v0;
|
||||
|
||||
move-object v0, v14
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
move-object v4, v2
|
||||
|
||||
move-object v2, v12
|
||||
|
||||
move-object v3, v13
|
||||
|
||||
invoke-direct/range {v0 .. v8}, Le/k/a/b/v0;-><init>(Landroid/content/Context;Le/k/a/b/y;Le/k/a/b/i1/h;Le/k/a/b/g0;Le/k/a/b/k1/f;Le/k/a/b/y0/a;Le/k/a/b/l1/g;Landroid/os/Looper;)V
|
||||
|
||||
const-string v0, "SimpleExoPlayer\n \u2026ntrol)\n .build()"
|
||||
|
||||
invoke-static {v14, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v14}, Le/k/a/b/v0;->D()V
|
||||
|
||||
iget-object v0, v14, Le/k/a/b/v0;->c:Le/k/a/b/b0;
|
||||
|
||||
iget-object v0, v0, Le/k/a/b/b0;->h:Ljava/util/concurrent/CopyOnWriteArrayList;
|
||||
|
||||
new-instance v1, Le/k/a/b/r$a;
|
||||
|
||||
invoke-direct {v1, v11}, Le/k/a/b/r$a;-><init>(Le/k/a/b/o0$b;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->addIfAbsent(Ljava/lang/Object;)Z
|
||||
|
||||
new-instance v0, Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-static {}, Lf0/q/a;->b()Lrx/Scheduler;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v1, "Schedulers.computation()"
|
||||
|
||||
invoke-static {v5, v1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
move-object v2, v14
|
||||
|
||||
move-object v3, v11
|
||||
|
||||
move-object v4, v10
|
||||
|
||||
move-object v6, v9
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lcom/discord/player/AppMediaPlayer;-><init>(Le/k/a/b/v0;Le/a/e/g;Le/k/a/b/k1/l$a;Lrx/Scheduler;Lcom/discord/utilities/logging/Logger;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
const-string v1, "logger"
|
||||
|
||||
invoke-static {v1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -1,75 +1,62 @@
|
|||
.class public final Le/a/e/f;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CacheDataSourceFactory.kt"
|
||||
.source "AppMediaPlayer.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Le/k/a/b/k1/l$a;
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Le/k/a/b/k1/r;
|
||||
|
||||
.field public final b:J
|
||||
.field public final synthetic d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Le/k/a/b/k1/r;J)V
|
||||
.method public constructor <init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
iput-object p1, p0, Le/a/e/f;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Le/a/e/f;->a:Le/k/a/b/k1/r;
|
||||
|
||||
iput-wide p2, p0, Le/a/e/f;->b:J
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "defaultDatasourceFactory"
|
||||
|
||||
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Le/k/a/b/k1/l;
|
||||
.locals 8
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 6
|
||||
|
||||
sget-object v0, Le/a/e/h;->c:Le/a/e/h;
|
||||
move-object v2, p1
|
||||
|
||||
invoke-virtual {v0}, Le/a/e/h;->a()Le/k/a/b/k1/e0/t;
|
||||
check-cast v2, Ljava/lang/Throwable;
|
||||
|
||||
move-result-object v2
|
||||
iget-object p1, p0, Le/a/e/f;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
new-instance v0, Le/k/a/b/k1/e0/e;
|
||||
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
iget-object v1, p0, Le/a/e/f;->a:Le/k/a/b/k1/r;
|
||||
const/4 v3, 0x0
|
||||
|
||||
invoke-virtual {v1}, Le/k/a/b/k1/r;->a()Le/k/a/b/k1/q;
|
||||
const/4 v4, 0x4
|
||||
|
||||
move-result-object v3
|
||||
const/4 v5, 0x0
|
||||
|
||||
new-instance v4, Le/k/a/b/k1/v;
|
||||
const-string v1, "error while listening to player states"
|
||||
|
||||
invoke-direct {v4}, Le/k/a/b/k1/v;-><init>()V
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
new-instance v5, Le/k/a/b/k1/e0/d;
|
||||
|
||||
iget-wide v6, p0, Le/a/e/f;->b:J
|
||||
|
||||
invoke-direct {v5, v2, v6, v7}, Le/k/a/b/k1/e0/d;-><init>(Le/k/a/b/k1/e0/c;J)V
|
||||
|
||||
const/4 v6, 0x3
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Le/k/a/b/k1/e0/e;-><init>(Le/k/a/b/k1/e0/c;Le/k/a/b/k1/l;Le/k/a/b/k1/l;Le/k/a/b/k1/j;I)V
|
||||
|
||||
return-object v0
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -1,219 +1,50 @@
|
|||
.class public final Le/a/e/g;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxPlayerEventListener.kt"
|
||||
.source "AppMediaPlayer.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Le/k/a/b/o0$b;
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
Le/a/e/g$c;,
|
||||
Le/a/e/g$a;,
|
||||
Le/a/e/g$b;
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Ljava/lang/Long;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Le/a/e/g$c;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final e:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Le/a/e/g$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final f:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Le/a/e/g$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
.field public final synthetic d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
.method public constructor <init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Le/a/e/g;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Le/a/e/g;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Le/a/e/g;->e:Lrx/subjects/PublishSubject;
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Le/a/e/g;->f:Lrx/subjects/PublishSubject;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public synthetic a()V
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Lcom/google/android/exoplayer2/source/TrackGroupArray;Le/k/a/b/i1/g;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1, p2}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Lcom/google/android/exoplayer2/source/TrackGroupArray;Le/k/a/b/i1/g;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Le/k/a/b/m0;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Le/k/a/b/m0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Le/k/a/b/w0;I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1, p2}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Le/k/a/b/w0;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(Le/k/a/b/z;)V
|
||||
.locals 2
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Le/k/a/b/z;)V
|
||||
|
||||
iget-object v0, p0, Le/a/e/g;->f:Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Le/a/e/g$b;
|
||||
|
||||
invoke-direct {v1, p1}, Le/a/e/g$b;-><init>(Le/k/a/b/z;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "error"
|
||||
|
||||
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->b(Le/k/a/b/o0$b;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(ZI)V
|
||||
.locals 2
|
||||
|
||||
invoke-static {p0, p1, p2}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;ZI)V
|
||||
|
||||
iget-object v0, p0, Le/a/e/g;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Le/a/e/g$c;
|
||||
|
||||
invoke-direct {v1, p1, p2}, Le/a/e/g$c;-><init>(ZI)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic b()V
|
||||
.locals 0
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
invoke-static {p0}, Le/k/a/b/p0;->b(Le/k/a/b/o0$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic b(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->b(Le/k/a/b/o0$b;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic b(Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->c(Le/k/a/b/o0$b;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic c(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->c(Le/k/a/b/o0$b;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(Z)V
|
||||
.locals 2
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Z)V
|
||||
|
||||
iget-object v0, p0, Le/a/e/g;->e:Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Le/a/e/g$a;
|
||||
|
||||
invoke-direct {v1, p1}, Le/a/e/g$a;-><init>(Z)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
check-cast p1, Ljava/lang/Long;
|
||||
|
||||
iget-object p1, p0, Le/a/e/g;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-static {p1}, Lcom/discord/player/AppMediaPlayer;->a(Lcom/discord/player/AppMediaPlayer;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -1,68 +1,35 @@
|
|||
.class public final Le/a/e/h;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SimpleCacheProvider.kt"
|
||||
.source "AppMediaPlayer.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Lrx/functions/Action1;
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic a:[Lkotlin/reflect/KProperty;
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"<T:",
|
||||
"Ljava/lang/Object;",
|
||||
">",
|
||||
"Ljava/lang/Object;",
|
||||
"Lrx/functions/Action1<",
|
||||
"Ljava/lang/Throwable;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
|
||||
.field public static final b:Lkotlin/Lazy;
|
||||
|
||||
.field public static final c:Le/a/e/h;
|
||||
# instance fields
|
||||
.field public final synthetic d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 5
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
||||
|
||||
new-instance v1, Lx/u/b/u;
|
||||
|
||||
const-class v2, Le/a/e/h;
|
||||
|
||||
invoke-static {v2}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "INSTANCE"
|
||||
|
||||
const-string v4, "getINSTANCE()Lcom/google/android/exoplayer2/upstream/cache/SimpleCache;"
|
||||
|
||||
invoke-direct {v1, v2, v3, v4}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
sget-object v2, Lx/u/b/w;->a:Lx/u/b/x;
|
||||
|
||||
invoke-virtual {v2, v1}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
sput-object v0, Le/a/e/h;->a:[Lkotlin/reflect/KProperty;
|
||||
|
||||
new-instance v0, Le/a/e/h;
|
||||
|
||||
invoke-direct {v0}, Le/a/e/h;-><init>()V
|
||||
|
||||
sput-object v0, Le/a/e/h;->c:Le/a/e/h;
|
||||
|
||||
sget-object v0, Le/a/e/h$a;->d:Le/a/e/h$a;
|
||||
|
||||
invoke-static {v0}, Le/n/a/j/a;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Le/a/e/h;->b:Lkotlin/Lazy;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.method public constructor <init>(Lcom/discord/player/AppMediaPlayer;)V
|
||||
.locals 0
|
||||
|
||||
iput-object p1, p0, Le/a/e/h;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
|
@ -70,22 +37,26 @@
|
|||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()Le/k/a/b/k1/e0/t;
|
||||
.locals 3
|
||||
.method public call(Ljava/lang/Object;)V
|
||||
.locals 6
|
||||
|
||||
sget-object v0, Le/a/e/h;->b:Lkotlin/Lazy;
|
||||
move-object v2, p1
|
||||
|
||||
sget-object v1, Le/a/e/h;->a:[Lkotlin/reflect/KProperty;
|
||||
check-cast v2, Ljava/lang/Throwable;
|
||||
|
||||
const/4 v2, 0x0
|
||||
iget-object p1, p0, Le/a/e/h;->d:Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
aget-object v1, v1, v2
|
||||
iget-object v0, p1, Lcom/discord/player/AppMediaPlayer;->i:Lcom/discord/utilities/logging/Logger;
|
||||
|
||||
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
||||
const/4 v3, 0x0
|
||||
|
||||
move-result-object v0
|
||||
const/4 v4, 0x4
|
||||
|
||||
check-cast v0, Le/k/a/b/k1/e0/t;
|
||||
const/4 v5, 0x0
|
||||
|
||||
return-object v0
|
||||
const-string v1, "error while polling progress position"
|
||||
|
||||
invoke-static/range {v0 .. v5}, Lcom/discord/utilities/logging/Logger;->e$default(Lcom/discord/utilities/logging/Logger;Ljava/lang/String;Ljava/lang/Throwable;Ljava/util/Map;ILjava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
|
313
com.discord/smali/e/a/e/i.smali
Normal file
313
com.discord/smali/e/a/e/i.smali
Normal file
|
@ -0,0 +1,313 @@
|
|||
.class public final Le/a/e/i;
|
||||
.super Ljava/lang/Object;
|
||||
.source "AppMediaPlayerFactory.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final a:Le/a/e/i;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Le/a/e/i;
|
||||
|
||||
invoke-direct {v0}, Le/a/e/i;-><init>()V
|
||||
|
||||
sput-object v0, Le/a/e/i;->a:Le/a/e/i;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroid/content/Context;)Lcom/discord/player/AppMediaPlayer;
|
||||
.locals 24
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
if-eqz v1, :cond_2
|
||||
|
||||
sget-object v9, Lcom/discord/app/AppLog;->c:Lcom/discord/app/AppLog;
|
||||
|
||||
if-eqz v9, :cond_1
|
||||
|
||||
new-instance v0, Le/k/a/b/k1/r;
|
||||
|
||||
const-string v2, "com.discord"
|
||||
|
||||
invoke-static {v1, v2}, Le/k/a/b/l1/f0;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
invoke-direct {v0, v1, v2}, Le/k/a/b/k1/r;-><init>(Landroid/content/Context;Ljava/lang/String;)V
|
||||
|
||||
new-instance v10, Le/a/e/j;
|
||||
|
||||
const-wide/32 v2, 0x6400000
|
||||
|
||||
invoke-direct {v10, v0, v2, v3}, Le/a/e/j;-><init>(Le/k/a/b/k1/r;J)V
|
||||
|
||||
new-instance v11, Le/a/e/k;
|
||||
|
||||
invoke-direct {v11}, Le/a/e/k;-><init>()V
|
||||
|
||||
const/16 v19, -0x1
|
||||
|
||||
const/16 v20, 0x1
|
||||
|
||||
const/16 v22, 0x0
|
||||
|
||||
const/16 v0, 0x2710
|
||||
|
||||
const/16 v2, 0x7530
|
||||
|
||||
const/4 v3, 0x1
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
const-string v4, "bufferForPlaybackMs"
|
||||
|
||||
const-string v5, "0"
|
||||
|
||||
const/16 v6, 0x9c4
|
||||
|
||||
const/4 v7, 0x0
|
||||
|
||||
invoke-static {v6, v7, v4, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v8, "bufferForPlaybackAfterRebufferMs"
|
||||
|
||||
const/16 v15, 0x1388
|
||||
|
||||
invoke-static {v15, v7, v8, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v12, "minBufferMs"
|
||||
|
||||
invoke-static {v0, v6, v12, v4}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v15, v12, v8}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v14, "maxBufferMs"
|
||||
|
||||
invoke-static {v2, v0, v14, v12}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
new-instance v13, Le/k/a/b/k1/o;
|
||||
|
||||
const/high16 v0, 0x10000
|
||||
|
||||
invoke-direct {v13, v3, v0}, Le/k/a/b/k1/o;-><init>(ZI)V
|
||||
|
||||
new-instance v2, Le/k/a/b/w;
|
||||
|
||||
const/16 v0, 0x2710
|
||||
|
||||
const/16 v16, 0x7530
|
||||
|
||||
const/16 v17, 0x9c4
|
||||
|
||||
const/16 v18, 0x1388
|
||||
|
||||
move-object v12, v2
|
||||
|
||||
move-object/from16 v23, v14
|
||||
|
||||
move v14, v0
|
||||
|
||||
move v15, v0
|
||||
|
||||
move/from16 v21, v22
|
||||
|
||||
invoke-direct/range {v12 .. v22}, Le/k/a/b/w;-><init>(Le/k/a/b/k1/o;IIIIIIZIZ)V
|
||||
|
||||
const-string v0, "DefaultLoadControl.Build\u2026reateDefaultLoadControl()"
|
||||
|
||||
invoke-static {v2, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
new-instance v12, Le/k/a/b/y;
|
||||
|
||||
invoke-direct {v12, v1}, Le/k/a/b/y;-><init>(Landroid/content/Context;)V
|
||||
|
||||
new-instance v13, Lcom/google/android/exoplayer2/trackselection/DefaultTrackSelector;
|
||||
|
||||
invoke-direct {v13, v1}, Lcom/google/android/exoplayer2/trackselection/DefaultTrackSelector;-><init>(Landroid/content/Context;)V
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->a(Z)V
|
||||
|
||||
invoke-static {v3}, Le/k/a/b/l1/e;->a(Z)V
|
||||
|
||||
const/16 v0, 0x3a98
|
||||
|
||||
invoke-static {v6, v7, v4, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const/16 v14, 0x1388
|
||||
|
||||
invoke-static {v14, v7, v8, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v15, "minBufferAudioMs"
|
||||
|
||||
invoke-static {v0, v6, v15, v4}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "minBufferVideoMs"
|
||||
|
||||
const v7, 0xc350
|
||||
|
||||
invoke-static {v7, v6, v3, v4}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v0, v14, v15, v8}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v7, v14, v3, v8}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
move-object/from16 v4, v23
|
||||
|
||||
invoke-static {v7, v0, v4, v15}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
invoke-static {v7, v7, v4, v3}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
const-string v3, "backBufferDurationMs"
|
||||
|
||||
const/4 v4, 0x0
|
||||
|
||||
invoke-static {v4, v4, v3, v5}, Le/k/a/b/w;->a(IILjava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
int-to-long v4, v0
|
||||
|
||||
invoke-static {v4, v5}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v7
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v7
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v6
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
int-to-long v3, v14
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
int-to-long v3, v0
|
||||
|
||||
invoke-static {v3, v4}, Le/k/a/b/t;->a(J)J
|
||||
|
||||
invoke-static/range {p1 .. p1}, Le/k/a/b/k1/p;->a(Landroid/content/Context;)Le/k/a/b/k1/p;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
:goto_0
|
||||
move-object v8, v0
|
||||
|
||||
new-instance v6, Le/k/a/b/y0/a;
|
||||
|
||||
sget-object v0, Le/k/a/b/l1/g;->a:Le/k/a/b/l1/g;
|
||||
|
||||
invoke-direct {v6, v0}, Le/k/a/b/y0/a;-><init>(Le/k/a/b/l1/g;)V
|
||||
|
||||
sget-object v7, Le/k/a/b/l1/g;->a:Le/k/a/b/l1/g;
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
invoke-static {v0}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
invoke-static {v0}, Le/k/a/b/l1/e;->d(Z)V
|
||||
|
||||
new-instance v14, Le/k/a/b/v0;
|
||||
|
||||
move-object v0, v14
|
||||
|
||||
move-object/from16 v1, p1
|
||||
|
||||
move-object v4, v2
|
||||
|
||||
move-object v2, v12
|
||||
|
||||
move-object v3, v13
|
||||
|
||||
invoke-direct/range {v0 .. v8}, Le/k/a/b/v0;-><init>(Landroid/content/Context;Le/k/a/b/y;Le/k/a/b/i1/h;Le/k/a/b/g0;Le/k/a/b/k1/f;Le/k/a/b/y0/a;Le/k/a/b/l1/g;Landroid/os/Looper;)V
|
||||
|
||||
const-string v0, "SimpleExoPlayer\n \u2026ntrol)\n .build()"
|
||||
|
||||
invoke-static {v14, v0}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
invoke-virtual {v14}, Le/k/a/b/v0;->D()V
|
||||
|
||||
iget-object v0, v14, Le/k/a/b/v0;->c:Le/k/a/b/b0;
|
||||
|
||||
iget-object v0, v0, Le/k/a/b/b0;->h:Ljava/util/concurrent/CopyOnWriteArrayList;
|
||||
|
||||
new-instance v1, Le/k/a/b/r$a;
|
||||
|
||||
invoke-direct {v1, v11}, Le/k/a/b/r$a;-><init>(Le/k/a/b/o0$b;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->addIfAbsent(Ljava/lang/Object;)Z
|
||||
|
||||
new-instance v0, Lcom/discord/player/AppMediaPlayer;
|
||||
|
||||
invoke-static {}, Lf0/q/a;->b()Lrx/Scheduler;
|
||||
|
||||
move-result-object v5
|
||||
|
||||
const-string v1, "Schedulers.computation()"
|
||||
|
||||
invoke-static {v5, v1}, Lx/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
move-object v2, v14
|
||||
|
||||
move-object v3, v11
|
||||
|
||||
move-object v4, v10
|
||||
|
||||
move-object v6, v9
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Lcom/discord/player/AppMediaPlayer;-><init>(Le/k/a/b/v0;Le/a/e/k;Le/k/a/b/k1/l$a;Lrx/Scheduler;Lcom/discord/utilities/logging/Logger;)V
|
||||
|
||||
return-object v0
|
||||
|
||||
:cond_1
|
||||
const-string v1, "logger"
|
||||
|
||||
invoke-static {v1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
|
||||
:cond_2
|
||||
const-string v1, "context"
|
||||
|
||||
invoke-static {v1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
throw v0
|
||||
.end method
|
75
com.discord/smali/e/a/e/j.smali
Normal file
75
com.discord/smali/e/a/e/j.smali
Normal file
|
@ -0,0 +1,75 @@
|
|||
.class public final Le/a/e/j;
|
||||
.super Ljava/lang/Object;
|
||||
.source "CacheDataSourceFactory.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Le/k/a/b/k1/l$a;
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final a:Le/k/a/b/k1/r;
|
||||
|
||||
.field public final b:J
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>(Le/k/a/b/k1/r;J)V
|
||||
.locals 0
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Le/a/e/j;->a:Le/k/a/b/k1/r;
|
||||
|
||||
iput-wide p2, p0, Le/a/e/j;->b:J
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "defaultDatasourceFactory"
|
||||
|
||||
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public a()Le/k/a/b/k1/l;
|
||||
.locals 8
|
||||
|
||||
sget-object v0, Le/a/e/l;->c:Le/a/e/l;
|
||||
|
||||
invoke-virtual {v0}, Le/a/e/l;->a()Le/k/a/b/k1/e0/t;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
new-instance v0, Le/k/a/b/k1/e0/e;
|
||||
|
||||
iget-object v1, p0, Le/a/e/j;->a:Le/k/a/b/k1/r;
|
||||
|
||||
invoke-virtual {v1}, Le/k/a/b/k1/r;->a()Le/k/a/b/k1/q;
|
||||
|
||||
move-result-object v3
|
||||
|
||||
new-instance v4, Le/k/a/b/k1/v;
|
||||
|
||||
invoke-direct {v4}, Le/k/a/b/k1/v;-><init>()V
|
||||
|
||||
new-instance v5, Le/k/a/b/k1/e0/d;
|
||||
|
||||
iget-wide v6, p0, Le/a/e/j;->b:J
|
||||
|
||||
invoke-direct {v5, v2, v6, v7}, Le/k/a/b/k1/e0/d;-><init>(Le/k/a/b/k1/e0/c;J)V
|
||||
|
||||
const/4 v6, 0x3
|
||||
|
||||
move-object v1, v0
|
||||
|
||||
invoke-direct/range {v1 .. v6}, Le/k/a/b/k1/e0/e;-><init>(Le/k/a/b/k1/e0/c;Le/k/a/b/k1/l;Le/k/a/b/k1/l;Le/k/a/b/k1/j;I)V
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Le/a/e/g$a;
|
||||
.class public final Le/a/e/k$a;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxPlayerEventListener.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Le/a/e/g;
|
||||
value = Le/a/e/k;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -24,7 +24,7 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-boolean p1, p0, Le/a/e/g$a;->a:Z
|
||||
iput-boolean p1, p0, Le/a/e/k$a;->a:Z
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -36,15 +36,15 @@
|
|||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Le/a/e/g$a;
|
||||
instance-of v0, p1, Le/a/e/k$a;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Le/a/e/g$a;
|
||||
check-cast p1, Le/a/e/k$a;
|
||||
|
||||
iget-boolean v0, p0, Le/a/e/g$a;->a:Z
|
||||
iget-boolean v0, p0, Le/a/e/k$a;->a:Z
|
||||
|
||||
iget-boolean p1, p1, Le/a/e/g$a;->a:Z
|
||||
iget-boolean p1, p1, Le/a/e/k$a;->a:Z
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
|
@ -65,7 +65,7 @@
|
|||
.method public hashCode()I
|
||||
.locals 1
|
||||
|
||||
iget-boolean v0, p0, Le/a/e/g$a;->a:Z
|
||||
iget-boolean v0, p0, Le/a/e/k$a;->a:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -84,7 +84,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-boolean v1, p0, Le/a/e/g$a;->a:Z
|
||||
iget-boolean v1, p0, Le/a/e/k$a;->a:Z
|
||||
|
||||
const-string v2, ")"
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Le/a/e/g$b;
|
||||
.class public final Le/a/e/k$b;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxPlayerEventListener.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Le/a/e/g;
|
||||
value = Le/a/e/k;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -26,7 +26,7 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-object p1, p0, Le/a/e/g$b;->a:Le/k/a/b/z;
|
||||
iput-object p1, p0, Le/a/e/k$b;->a:Le/k/a/b/z;
|
||||
|
||||
return-void
|
||||
|
||||
|
@ -47,15 +47,15 @@
|
|||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Le/a/e/g$b;
|
||||
instance-of v0, p1, Le/a/e/k$b;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Le/a/e/g$b;
|
||||
check-cast p1, Le/a/e/k$b;
|
||||
|
||||
iget-object v0, p0, Le/a/e/g$b;->a:Le/k/a/b/z;
|
||||
iget-object v0, p0, Le/a/e/k$b;->a:Le/k/a/b/z;
|
||||
|
||||
iget-object p1, p1, Le/a/e/g$b;->a:Le/k/a/b/z;
|
||||
iget-object p1, p1, Le/a/e/k$b;->a:Le/k/a/b/z;
|
||||
|
||||
invoke-static {v0, p1}, Lx/u/b/j;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
||||
|
||||
|
@ -80,7 +80,7 @@
|
|||
.method public hashCode()I
|
||||
.locals 1
|
||||
|
||||
iget-object v0, p0, Le/a/e/g$b;->a:Le/k/a/b/z;
|
||||
iget-object v0, p0, Le/a/e/k$b;->a:Le/k/a/b/z;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-object v1, p0, Le/a/e/g$b;->a:Le/k/a/b/z;
|
||||
iget-object v1, p0, Le/a/e/k$b;->a:Le/k/a/b/z;
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
.class public final Le/a/e/g$c;
|
||||
.class public final Le/a/e/k$c;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxPlayerEventListener.kt"
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Le/a/e/g;
|
||||
value = Le/a/e/k;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -26,9 +26,9 @@
|
|||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
iput-boolean p1, p0, Le/a/e/g$c;->a:Z
|
||||
iput-boolean p1, p0, Le/a/e/k$c;->a:Z
|
||||
|
||||
iput p2, p0, Le/a/e/g$c;->b:I
|
||||
iput p2, p0, Le/a/e/k$c;->b:I
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -40,21 +40,21 @@
|
|||
|
||||
if-eq p0, p1, :cond_1
|
||||
|
||||
instance-of v0, p1, Le/a/e/g$c;
|
||||
instance-of v0, p1, Le/a/e/k$c;
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
check-cast p1, Le/a/e/g$c;
|
||||
check-cast p1, Le/a/e/k$c;
|
||||
|
||||
iget-boolean v0, p0, Le/a/e/g$c;->a:Z
|
||||
iget-boolean v0, p0, Le/a/e/k$c;->a:Z
|
||||
|
||||
iget-boolean v1, p1, Le/a/e/g$c;->a:Z
|
||||
iget-boolean v1, p1, Le/a/e/k$c;->a:Z
|
||||
|
||||
if-ne v0, v1, :cond_0
|
||||
|
||||
iget v0, p0, Le/a/e/g$c;->b:I
|
||||
iget v0, p0, Le/a/e/k$c;->b:I
|
||||
|
||||
iget p1, p1, Le/a/e/g$c;->b:I
|
||||
iget p1, p1, Le/a/e/k$c;->b:I
|
||||
|
||||
if-ne v0, p1, :cond_0
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
.method public hashCode()I
|
||||
.locals 2
|
||||
|
||||
iget-boolean v0, p0, Le/a/e/g$c;->a:Z
|
||||
iget-boolean v0, p0, Le/a/e/k$c;->a:Z
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
|
@ -84,7 +84,7 @@
|
|||
:cond_0
|
||||
mul-int/lit8 v0, v0, 0x1f
|
||||
|
||||
iget v1, p0, Le/a/e/g$c;->b:I
|
||||
iget v1, p0, Le/a/e/k$c;->b:I
|
||||
|
||||
invoke-static {v1}, Lc;->a(I)I
|
||||
|
||||
|
@ -104,7 +104,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
iget-boolean v1, p0, Le/a/e/g$c;->a:Z
|
||||
iget-boolean v1, p0, Le/a/e/k$c;->a:Z
|
||||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
|
||||
|
||||
|
@ -112,7 +112,7 @@
|
|||
|
||||
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||||
|
||||
iget v1, p0, Le/a/e/g$c;->b:I
|
||||
iget v1, p0, Le/a/e/k$c;->b:I
|
||||
|
||||
const-string v2, ")"
|
||||
|
219
com.discord/smali/e/a/e/k.smali
Normal file
219
com.discord/smali/e/a/e/k.smali
Normal file
|
@ -0,0 +1,219 @@
|
|||
.class public final Le/a/e/k;
|
||||
.super Ljava/lang/Object;
|
||||
.source "RxPlayerEventListener.kt"
|
||||
|
||||
# interfaces
|
||||
.implements Le/k/a/b/o0$b;
|
||||
|
||||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/MemberClasses;
|
||||
value = {
|
||||
Le/a/e/k$c;,
|
||||
Le/a/e/k$a;,
|
||||
Le/a/e/k$b;
|
||||
}
|
||||
.end annotation
|
||||
|
||||
|
||||
# instance fields
|
||||
.field public final d:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Le/a/e/k$c;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final e:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Le/a/e/k$a;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
.field public final f:Lrx/subjects/PublishSubject;
|
||||
.annotation system Ldalvik/annotation/Signature;
|
||||
value = {
|
||||
"Lrx/subjects/PublishSubject<",
|
||||
"Le/a/e/k$b;",
|
||||
">;"
|
||||
}
|
||||
.end annotation
|
||||
.end field
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public constructor <init>()V
|
||||
.locals 1
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Le/a/e/k;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Le/a/e/k;->e:Lrx/subjects/PublishSubject;
|
||||
|
||||
invoke-static {}, Lrx/subjects/PublishSubject;->o()Lrx/subjects/PublishSubject;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
iput-object v0, p0, Le/a/e/k;->f:Lrx/subjects/PublishSubject;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public synthetic a()V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Lcom/google/android/exoplayer2/source/TrackGroupArray;Le/k/a/b/i1/g;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1, p2}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Lcom/google/android/exoplayer2/source/TrackGroupArray;Le/k/a/b/i1/g;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Le/k/a/b/m0;)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Le/k/a/b/m0;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Le/k/a/b/w0;I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1, p2}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Le/k/a/b/w0;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(Le/k/a/b/z;)V
|
||||
.locals 2
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Le/k/a/b/z;)V
|
||||
|
||||
iget-object v0, p0, Le/a/e/k;->f:Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Le/a/e/k$b;
|
||||
|
||||
invoke-direct {v1, p1}, Le/a/e/k$b;-><init>(Le/k/a/b/z;)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
const-string p1, "error"
|
||||
|
||||
invoke-static {p1}, Lx/u/b/j;->a(Ljava/lang/String;)V
|
||||
|
||||
const/4 p1, 0x0
|
||||
|
||||
throw p1
|
||||
.end method
|
||||
|
||||
.method public synthetic a(Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->b(Le/k/a/b/o0$b;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public a(ZI)V
|
||||
.locals 2
|
||||
|
||||
invoke-static {p0, p1, p2}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;ZI)V
|
||||
|
||||
iget-object v0, p0, Le/a/e/k;->d:Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Le/a/e/k$c;
|
||||
|
||||
invoke-direct {v1, p1, p2}, Le/a/e/k$c;-><init>(ZI)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic b()V
|
||||
.locals 0
|
||||
.annotation runtime Ljava/lang/Deprecated;
|
||||
.end annotation
|
||||
|
||||
invoke-static {p0}, Le/k/a/b/p0;->b(Le/k/a/b/o0$b;)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic b(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->b(Le/k/a/b/o0$b;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic b(Z)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->c(Le/k/a/b/o0$b;Z)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public synthetic c(I)V
|
||||
.locals 0
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->c(Le/k/a/b/o0$b;I)V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public c(Z)V
|
||||
.locals 2
|
||||
|
||||
invoke-static {p0, p1}, Le/k/a/b/p0;->a(Le/k/a/b/o0$b;Z)V
|
||||
|
||||
iget-object v0, p0, Le/a/e/k;->e:Lrx/subjects/PublishSubject;
|
||||
|
||||
new-instance v1, Le/a/e/k$a;
|
||||
|
||||
invoke-direct {v1, p1}, Le/a/e/k$a;-><init>(Z)V
|
||||
|
||||
invoke-virtual {v0, v1}, Lrx/subjects/PublishSubject;->onNext(Ljava/lang/Object;)V
|
||||
|
||||
return-void
|
||||
.end method
|
|
@ -1,4 +1,4 @@
|
|||
.class public final Le/a/e/h$a;
|
||||
.class public final Le/a/e/l$a;
|
||||
.super Lx/u/b/k;
|
||||
.source "SimpleCacheProvider.kt"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
|||
|
||||
# annotations
|
||||
.annotation system Ldalvik/annotation/EnclosingClass;
|
||||
value = Le/a/e/h;
|
||||
value = Le/a/e/l;
|
||||
.end annotation
|
||||
|
||||
.annotation system Ldalvik/annotation/InnerClass;
|
||||
|
@ -27,18 +27,18 @@
|
|||
|
||||
|
||||
# static fields
|
||||
.field public static final d:Le/a/e/h$a;
|
||||
.field public static final d:Le/a/e/l$a;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 1
|
||||
|
||||
new-instance v0, Le/a/e/h$a;
|
||||
new-instance v0, Le/a/e/l$a;
|
||||
|
||||
invoke-direct {v0}, Le/a/e/h$a;-><init>()V
|
||||
invoke-direct {v0}, Le/a/e/l$a;-><init>()V
|
||||
|
||||
sput-object v0, Le/a/e/h$a;->d:Le/a/e/h$a;
|
||||
sput-object v0, Le/a/e/l$a;->d:Le/a/e/l$a;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
@ -102,7 +102,7 @@
|
|||
.method public bridge synthetic invoke()Ljava/lang/Object;
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Le/a/e/h$a;->invoke()Le/k/a/b/k1/e0/t;
|
||||
invoke-virtual {p0}, Le/a/e/l$a;->invoke()Le/k/a/b/k1/e0/t;
|
||||
|
||||
move-result-object v0
|
||||
|
91
com.discord/smali/e/a/e/l.smali
Normal file
91
com.discord/smali/e/a/e/l.smali
Normal file
|
@ -0,0 +1,91 @@
|
|||
.class public final Le/a/e/l;
|
||||
.super Ljava/lang/Object;
|
||||
.source "SimpleCacheProvider.kt"
|
||||
|
||||
|
||||
# static fields
|
||||
.field public static final synthetic a:[Lkotlin/reflect/KProperty;
|
||||
|
||||
.field public static final b:Lkotlin/Lazy;
|
||||
|
||||
.field public static final c:Le/a/e/l;
|
||||
|
||||
|
||||
# direct methods
|
||||
.method public static constructor <clinit>()V
|
||||
.locals 5
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
new-array v0, v0, [Lkotlin/reflect/KProperty;
|
||||
|
||||
new-instance v1, Lx/u/b/u;
|
||||
|
||||
const-class v2, Le/a/e/l;
|
||||
|
||||
invoke-static {v2}, Lx/u/b/w;->getOrCreateKotlinClass(Ljava/lang/Class;)Lx/y/b;
|
||||
|
||||
move-result-object v2
|
||||
|
||||
const-string v3, "INSTANCE"
|
||||
|
||||
const-string v4, "getINSTANCE()Lcom/google/android/exoplayer2/upstream/cache/SimpleCache;"
|
||||
|
||||
invoke-direct {v1, v2, v3, v4}, Lx/u/b/u;-><init>(Lkotlin/reflect/KDeclarationContainer;Ljava/lang/String;Ljava/lang/String;)V
|
||||
|
||||
sget-object v2, Lx/u/b/w;->a:Lx/u/b/x;
|
||||
|
||||
invoke-virtual {v2, v1}, Lx/u/b/x;->property1(Lx/u/b/t;)Lx/y/d;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aput-object v1, v0, v2
|
||||
|
||||
sput-object v0, Le/a/e/l;->a:[Lkotlin/reflect/KProperty;
|
||||
|
||||
new-instance v0, Le/a/e/l;
|
||||
|
||||
invoke-direct {v0}, Le/a/e/l;-><init>()V
|
||||
|
||||
sput-object v0, Le/a/e/l;->c:Le/a/e/l;
|
||||
|
||||
sget-object v0, Le/a/e/l$a;->d:Le/a/e/l$a;
|
||||
|
||||
invoke-static {v0}, Le/n/a/j/a;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
sput-object v0, Le/a/e/l;->b:Lkotlin/Lazy;
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
.method public constructor <init>()V
|
||||
.locals 0
|
||||
|
||||
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a()Le/k/a/b/k1/e0/t;
|
||||
.locals 3
|
||||
|
||||
sget-object v0, Le/a/e/l;->b:Lkotlin/Lazy;
|
||||
|
||||
sget-object v1, Le/a/e/l;->a:[Lkotlin/reflect/KProperty;
|
||||
|
||||
const/4 v2, 0x0
|
||||
|
||||
aget-object v1, v1, v2
|
||||
|
||||
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
|
||||
|
||||
move-result-object v0
|
||||
|
||||
check-cast v0, Le/k/a/b/k1/e0/t;
|
||||
|
||||
return-object v0
|
||||
.end method
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d()V
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()V
|
||||
|
||||
return-void
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
|
||||
check-cast p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d()V
|
||||
invoke-virtual {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e()V
|
||||
|
||||
return-void
|
||||
|
||||
|
|
|
@ -55,6 +55,16 @@
|
|||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Z
|
||||
|
||||
move-result p1
|
||||
|
||||
if-eqz p1, :cond_0
|
||||
|
||||
iget-object p1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h$a;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;
|
||||
|
||||
iget-object p1, p1, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;->this$0:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {p1}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->b(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/view/View;
|
||||
|
||||
move-result-object p1
|
||||
|
@ -95,5 +105,6 @@
|
|||
|
||||
invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setContentDescription(Ljava/lang/CharSequence;)V
|
||||
|
||||
:cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
|
|
@ -41,6 +41,17 @@
|
|||
.method public final run()V
|
||||
.locals 4
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
return-void
|
||||
|
||||
:cond_0
|
||||
sget-object v0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->A:Ljava/lang/String;
|
||||
|
||||
const-string v1, "Replacing EditText component"
|
||||
|
@ -53,7 +64,7 @@
|
|||
|
||||
move-result-object v0
|
||||
|
||||
if-eqz v0, :cond_1
|
||||
if-eqz v0, :cond_2
|
||||
|
||||
invoke-interface {v0}, Ljava/lang/CharSequence;->length()I
|
||||
|
||||
|
@ -61,17 +72,17 @@
|
|||
|
||||
const/4 v1, 0x1
|
||||
|
||||
if-nez v0, :cond_0
|
||||
if-nez v0, :cond_1
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
:cond_1
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
if-ne v0, v1, :cond_1
|
||||
if-ne v0, v1, :cond_2
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
|
@ -93,7 +104,7 @@
|
|||
|
||||
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
|
||||
|
||||
:cond_1
|
||||
:cond_2
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
invoke-static {v0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->c(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Landroid/view/ViewGroup;
|
||||
|
@ -146,18 +157,18 @@
|
|||
|
||||
instance-of v1, v0, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
if-nez v1, :cond_2
|
||||
if-nez v1, :cond_3
|
||||
|
||||
const/4 v0, 0x0
|
||||
|
||||
:cond_2
|
||||
:cond_3
|
||||
check-cast v0, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
if-eqz v0, :cond_3
|
||||
if-eqz v0, :cond_4
|
||||
|
||||
goto :goto_1
|
||||
|
||||
:cond_3
|
||||
:cond_4
|
||||
new-instance v0, Landroid/widget/LinearLayout$LayoutParams;
|
||||
|
||||
const/4 v1, -0x1
|
||||
|
@ -173,7 +184,7 @@
|
|||
|
||||
const/16 v2, 0x15
|
||||
|
||||
if-gt v1, v2, :cond_4
|
||||
if-gt v1, v2, :cond_5
|
||||
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->d:Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
||||
|
@ -201,7 +212,7 @@
|
|||
|
||||
invoke-virtual {v1, v2, v3}, Landroid/graphics/drawable/Drawable;->setColorFilter(ILandroid/graphics/PorterDuff$Mode;)V
|
||||
|
||||
:cond_4
|
||||
:cond_5
|
||||
iget-object v1, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment$l;->e:Landroidx/appcompat/widget/AppCompatEditText;
|
||||
|
||||
invoke-virtual {v1, v0}, Landroid/widget/EditText;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
||||
|
|
|
@ -288,6 +288,16 @@
|
|||
throw p0
|
||||
.end method
|
||||
|
||||
.method public static final synthetic e(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)Z
|
||||
.locals 0
|
||||
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d()Z
|
||||
|
||||
move-result p0
|
||||
|
||||
return p0
|
||||
.end method
|
||||
|
||||
|
||||
# virtual methods
|
||||
.method public final a(Landroidx/fragment/app/Fragment;)Lcom/lytefast/flexinput/fragment/FlexInputFragment;
|
||||
|
@ -627,7 +637,7 @@
|
|||
|
||||
invoke-direct {v3, p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment$h;-><init>(Lcom/lytefast/flexinput/fragment/FlexInputFragment;)V
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
invoke-virtual {p0}, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->d()Z
|
||||
|
||||
move-result v4
|
||||
|
||||
|
@ -1467,7 +1477,39 @@
|
|||
throw v1
|
||||
.end method
|
||||
|
||||
.method public final d()V
|
||||
.method public final d()Z
|
||||
.locals 1
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isAdded()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-eqz v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isRemoving()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->isDetached()Z
|
||||
|
||||
move-result v0
|
||||
|
||||
if-nez v0, :cond_0
|
||||
|
||||
const/4 v0, 0x1
|
||||
|
||||
goto :goto_0
|
||||
|
||||
:cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
:goto_0
|
||||
return v0
|
||||
.end method
|
||||
|
||||
.method public final e()V
|
||||
.locals 2
|
||||
|
||||
iget-object v0, p0, Lcom/lytefast/flexinput/fragment/FlexInputFragment;->w:Lcom/lytefast/flexinput/viewmodel/FlexInputViewModel;
|
||||
|
|
Loading…
Reference in a new issue