forked from distok/cutthecord
Dockerise
This commit is contained in:
parent
8ec2dd75c2
commit
55e2e94b63
3921 changed files with 178 additions and 111 deletions
86
resources/old-patches/nonearby/1006.patch
Normal file
86
resources/old-patches/nonearby/1006.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1007.patch
Normal file
86
resources/old-patches/nonearby/1007.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1011.patch
Normal file
86
resources/old-patches/nonearby/1011.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1012.patch
Normal file
86
resources/old-patches/nonearby/1012.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1013.patch
Normal file
86
resources/old-patches/nonearby/1013.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1015.patch
Normal file
86
resources/old-patches/nonearby/1015.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1016.patch
Normal file
86
resources/old-patches/nonearby/1016.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1019.patch
Normal file
86
resources/old-patches/nonearby/1019.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1020.patch
Normal file
86
resources/old-patches/nonearby/1020.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1021.patch
Normal file
86
resources/old-patches/nonearby/1021.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1022.patch
Normal file
86
resources/old-patches/nonearby/1022.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1023.patch
Normal file
86
resources/old-patches/nonearby/1023.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1024.patch
Normal file
86
resources/old-patches/nonearby/1024.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1025.patch
Normal file
86
resources/old-patches/nonearby/1025.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1026.patch
Normal file
86
resources/old-patches/nonearby/1026.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1029.patch
Normal file
86
resources/old-patches/nonearby/1029.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1031.patch
Normal file
86
resources/old-patches/nonearby/1031.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1032.patch
Normal file
86
resources/old-patches/nonearby/1032.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1033.patch
Normal file
86
resources/old-patches/nonearby/1033.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1036.patch
Normal file
86
resources/old-patches/nonearby/1036.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1037.patch
Normal file
86
resources/old-patches/nonearby/1037.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1040.patch
Normal file
86
resources/old-patches/nonearby/1040.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1041.patch
Normal file
86
resources/old-patches/nonearby/1041.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1045.patch
Normal file
86
resources/old-patches/nonearby/1045.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1046.patch
Normal file
86
resources/old-patches/nonearby/1046.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1047.patch
Normal file
86
resources/old-patches/nonearby/1047.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1049.patch
Normal file
86
resources/old-patches/nonearby/1049.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1052.patch
Normal file
86
resources/old-patches/nonearby/1052.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1053.patch
Normal file
86
resources/old-patches/nonearby/1053.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1054.patch
Normal file
86
resources/old-patches/nonearby/1054.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1056.patch
Normal file
86
resources/old-patches/nonearby/1056.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1057.patch
Normal file
86
resources/old-patches/nonearby/1057.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1062.patch
Normal file
86
resources/old-patches/nonearby/1062.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1065.patch
Normal file
86
resources/old-patches/nonearby/1065.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1066.patch
Normal file
86
resources/old-patches/nonearby/1066.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1069.patch
Normal file
86
resources/old-patches/nonearby/1069.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1073.patch
Normal file
86
resources/old-patches/nonearby/1073.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1074.patch
Normal file
86
resources/old-patches/nonearby/1074.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1078.patch
Normal file
86
resources/old-patches/nonearby/1078.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1084.patch
Normal file
86
resources/old-patches/nonearby/1084.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
86
resources/old-patches/nonearby/1085.patch
Normal file
86
resources/old-patches/nonearby/1085.patch
Normal file
|
@ -0,0 +1,86 @@
|
|||
diff -crB com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** com.discord-1006-base/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:10:57.537459476 +0300
|
||||
--- com.discord-1006/smali/com/discord/widgets/friends/NearbyManager.smali 2019-12-13 11:15:49.555787538 +0300
|
||||
***************
|
||||
*** 430,484 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
!
|
||||
! .line 1
|
||||
! iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! .line 2
|
||||
! iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
!
|
||||
! if-eqz v1, :cond_0
|
||||
!
|
||||
! .line 3
|
||||
! iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
!
|
||||
! if-eqz v2, :cond_0
|
||||
!
|
||||
! .line 4
|
||||
! iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
!
|
||||
! if-eqz v3, :cond_0
|
||||
!
|
||||
! .line 5
|
||||
! iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
!
|
||||
! if-eqz v4, :cond_0
|
||||
!
|
||||
! .line 6
|
||||
! iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
!
|
||||
! new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
!
|
||||
! new-instance v7, Ljava/util/HashSet;
|
||||
!
|
||||
! iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
!
|
||||
! invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
!
|
||||
! invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
!
|
||||
! invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
!
|
||||
! .line 7
|
||||
! invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
!
|
||||
! .line 8
|
||||
! invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 430,437 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 576,586 ****
|
||||
.method public final initialize(J)V
|
||||
.locals 0
|
||||
|
||||
- .line 1
|
||||
- invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
-
|
||||
- .line 2
|
||||
- invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
-
|
||||
return-void
|
||||
.end method
|
||||
--- 529,533 ----
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.orig
|
||||
Only in com.discord-1006/smali/com/discord/widgets/friends: NearbyManager.smali.rej
|
||||
|
99
resources/old-patches/nonearby/1087.patch
Normal file
99
resources/old-patches/nonearby/1087.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1091.patch
Normal file
99
resources/old-patches/nonearby/1091.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1092.patch
Normal file
99
resources/old-patches/nonearby/1092.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1100.patch
Normal file
99
resources/old-patches/nonearby/1100.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1103.patch
Normal file
99
resources/old-patches/nonearby/1103.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1104.patch
Normal file
99
resources/old-patches/nonearby/1104.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1105.patch
Normal file
99
resources/old-patches/nonearby/1105.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1107.patch
Normal file
99
resources/old-patches/nonearby/1107.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1123.patch
Normal file
99
resources/old-patches/nonearby/1123.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1132.patch
Normal file
99
resources/old-patches/nonearby/1132.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1134.patch
Normal file
99
resources/old-patches/nonearby/1134.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1144.patch
Normal file
99
resources/old-patches/nonearby/1144.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1145.patch
Normal file
99
resources/old-patches/nonearby/1145.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1146.patch
Normal file
99
resources/old-patches/nonearby/1146.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1148.patch
Normal file
99
resources/old-patches/nonearby/1148.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1150.patch
Normal file
99
resources/old-patches/nonearby/1150.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:08:53.575019356 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-03-31 01:10:34.976038743 +0100
|
||||
***************
|
||||
*** 450,504 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->a(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 450,457 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 594,613 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 547,553 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1167.patch
Normal file
179
resources/old-patches/nonearby/1167.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-06-20 04:18:52.157368346 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-06-20 04:37:59.897421161 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/j/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/j/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/j/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/j/a/d/j/b/e/r;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/j/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/j/a/d/j/b/e/j;-><init>(Lf/j/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/j/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/j/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/j/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/j/a/d/j/b/e/i;->f(Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/a0;Lf/j/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/j/a/b/l1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/j/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/j/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/j/a/d/j/b/e/s;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/j/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/j/a/d/j/b/e/l;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/j/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/j/a/d/j/b/e/m;-><init>(Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/j/a/d/j/b/e/i;->f(Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/a0;Lf/j/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1169.patch
Normal file
179
resources/old-patches/nonearby/1169.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-06-20 04:18:52.157368346 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-06-20 04:37:59.897421161 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/j/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/j/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/j/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/j/a/d/j/b/e/r;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/j/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/j/a/d/j/b/e/j;-><init>(Lf/j/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/j/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/j/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/j/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/j/a/d/j/b/e/i;->f(Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/a0;Lf/j/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/j/a/b/l1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/j/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/j/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/j/a/d/j/b/e/s;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/j/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/j/a/d/j/b/e/l;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/j/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/j/a/d/j/b/e/m;-><init>(Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/j/a/d/j/b/e/i;->f(Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/a0;Lf/j/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1171.patch
Normal file
179
resources/old-patches/nonearby/1171.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-06-20 04:18:52.157368346 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-06-20 04:37:59.897421161 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/j/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/j/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/j/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/j/a/d/j/b/e/r;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/j/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/j/a/d/j/b/e/j;-><init>(Lf/j/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/j/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/j/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/j/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/j/a/d/j/b/e/i;->f(Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/a0;Lf/j/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/j/a/b/l1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/j/a/b/l1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/j/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/j/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/j/a/d/e/j/l/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/j/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/j/a/d/j/b/e/s;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/j/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/j/a/d/j/b/e/l;-><init>(Lf/j/a/d/j/b/e/i;Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/j/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/j/a/d/j/b/e/m;-><init>(Lf/j/a/d/e/j/l/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/j/a/d/j/b/e/i;->f(Lf/j/a/d/e/j/l/i;Lf/j/a/d/j/b/e/a0;Lf/j/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1180.patch
Normal file
179
resources/old-patches/nonearby/1180.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:30:02.890000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:40:47.540000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/i/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/i/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/i/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/i/a/d/j/b/e/r;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/i/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/i/a/d/j/b/e/j;-><init>(Lf/i/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/i/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/i/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/i/a/b/i1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/i/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/i/a/d/j/b/e/s;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/i/a/d/j/b/e/l;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/i/a/d/j/b/e/m;-><init>(Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1181.patch
Normal file
179
resources/old-patches/nonearby/1181.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:30:02.890000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:40:47.540000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/i/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/i/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/i/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/i/a/d/j/b/e/r;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/i/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/i/a/d/j/b/e/j;-><init>(Lf/i/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/i/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/i/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/i/a/b/i1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/i/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/i/a/d/j/b/e/s;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/i/a/d/j/b/e/l;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/i/a/d/j/b/e/m;-><init>(Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1192.patch
Normal file
179
resources/old-patches/nonearby/1192.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:30:02.890000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:40:47.540000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/i/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/i/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/i/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/i/a/d/j/b/e/r;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/i/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/i/a/d/j/b/e/j;-><init>(Lf/i/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/i/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/i/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/i/a/b/i1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/i/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/i/a/d/j/b/e/s;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/i/a/d/j/b/e/l;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/i/a/d/j/b/e/m;-><init>(Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1196.patch
Normal file
179
resources/old-patches/nonearby/1196.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:30:02.890000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:40:47.540000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/i/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/i/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/i/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/i/a/d/j/b/e/r;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/i/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/i/a/d/j/b/e/j;-><init>(Lf/i/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/i/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/i/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/i/a/b/i1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/i/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/i/a/d/j/b/e/s;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/i/a/d/j/b/e/l;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/i/a/d/j/b/e/m;-><init>(Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1200.patch
Normal file
179
resources/old-patches/nonearby/1200.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:30:02.890000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-07 14:40:47.540000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/i/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/i/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/i/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/i/a/d/j/b/e/r;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/i/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/i/a/d/j/b/e/j;-><init>(Lf/i/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/i/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/i/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/i/a/b/i1/e;->y(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/i/a/b/i1/e;->m(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/i/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/i/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/i/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/i/a/d/j/b/e/s;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/i/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/i/a/d/j/b/e/l;-><init>(Lf/i/a/d/j/b/e/i;Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/i/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/i/a/d/j/b/e/m;-><init>(Lf/i/a/d/e/h/i/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/i/a/d/j/b/e/i;->f(Lf/i/a/d/e/h/i/i;Lf/i/a/d/j/b/e/a0;Lf/i/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1201.patch
Normal file
179
resources/old-patches/nonearby/1201.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-20 22:00:54.090000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-20 22:03:33.800000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/d/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/b/i1/e;->z(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/b/i1/e;->z(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/d/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/d/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/d/j/b/e/r;-><init>(Lf/h/a/d/j/b/e/i;Lf/h/a/d/e/h/i/i;Lf/h/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/d/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/d/j/b/e/j;-><init>(Lf/h/a/d/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/d/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/d/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/d/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/d/j/b/e/i;->f(Lf/h/a/d/e/h/i/i;Lf/h/a/d/j/b/e/a0;Lf/h/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/b/i1/e;->z(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/b/i1/e;->z(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/b/i1/e;->n(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/d/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/d/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/d/e/h/i/i;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/d/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/d/j/b/e/s;-><init>(Lf/h/a/d/j/b/e/i;Lf/h/a/d/e/h/i/i;Lf/h/a/d/e/h/i/i;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/d/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/d/j/b/e/l;-><init>(Lf/h/a/d/j/b/e/i;Lf/h/a/d/e/h/i/i;Lf/h/a/d/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/d/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/d/j/b/e/m;-><init>(Lf/h/a/d/e/h/i/i;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/d/j/b/e/i;->f(Lf/h/a/d/e/h/i/i;Lf/h/a/d/j/b/e/a0;Lf/h/a/d/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1208.patch
Normal file
179
resources/old-patches/nonearby/1208.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1213.patch
Normal file
179
resources/old-patches/nonearby/1213.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1216.patch
Normal file
179
resources/old-patches/nonearby/1216.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1218.patch
Normal file
179
resources/old-patches/nonearby/1218.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1223.patch
Normal file
179
resources/old-patches/nonearby/1223.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1243.patch
Normal file
179
resources/old-patches/nonearby/1243.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1246.patch
Normal file
179
resources/old-patches/nonearby/1246.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1249.patch
Normal file
179
resources/old-patches/nonearby/1249.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1251.patch
Normal file
179
resources/old-patches/nonearby/1251.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-07 10:44:49.567498054 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-07 10:45:00.883403538 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1252.patch
Normal file
179
resources/old-patches/nonearby/1252.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:53:45.760000000 +0300
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-07-25 19:56:25.220000000 +0300
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/h/a/c/i1/e;->D(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/h/a/c/i1/e;->r(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->h(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->f(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 706,725 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 579,585 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1259.patch
Normal file
179
resources/old-patches/nonearby/1259.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1266.patch
Normal file
179
resources/old-patches/nonearby/1266.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1270.patch
Normal file
179
resources/old-patches/nonearby/1270.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1273.patch
Normal file
179
resources/old-patches/nonearby/1273.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1279.patch
Normal file
179
resources/old-patches/nonearby/1279.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1280.patch
Normal file
179
resources/old-patches/nonearby/1280.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1281.patch
Normal file
179
resources/old-patches/nonearby/1281.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1282.patch
Normal file
179
resources/old-patches/nonearby/1282.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1284.patch
Normal file
179
resources/old-patches/nonearby/1284.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:49:34.449170991 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-09-13 11:51:39.449387657 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/j/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/j/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/j/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/j/b/e/r;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/j/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/j/b/e/j;-><init>(Lf/h/a/f/j/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/j/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/j/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/j/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/j/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/e/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/j/b/e/s;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/j/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/j/b/e/l;-><init>(Lf/h/a/f/j/b/e/i;Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/j/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/j/b/e/m;-><init>(Lf/h/a/f/e/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/j/b/e/i;->g(Lf/h/a/f/e/h/i/k;Lf/h/a/f/j/b/e/a0;Lf/h/a/f/j/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1290.patch
Normal file
179
resources/old-patches/nonearby/1290.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1294.patch
Normal file
179
resources/old-patches/nonearby/1294.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1295.patch
Normal file
179
resources/old-patches/nonearby/1295.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1298.patch
Normal file
179
resources/old-patches/nonearby/1298.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1300.patch
Normal file
179
resources/old-patches/nonearby/1300.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1301.patch
Normal file
179
resources/old-patches/nonearby/1301.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1304.patch
Normal file
179
resources/old-patches/nonearby/1304.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1306.patch
Normal file
179
resources/old-patches/nonearby/1306.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1307.patch
Normal file
179
resources/old-patches/nonearby/1307.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1310.patch
Normal file
179
resources/old-patches/nonearby/1310.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1315.patch
Normal file
179
resources/old-patches/nonearby/1315.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1318.patch
Normal file
179
resources/old-patches/nonearby/1318.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
179
resources/old-patches/nonearby/1330.patch
Normal file
179
resources/old-patches/nonearby/1330.patch
Normal file
|
@ -0,0 +1,179 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:20:38.187767799 +0100
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-10-06 18:22:01.088683416 +0100
|
||||
***************
|
||||
*** 475,609 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_1
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_1
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_1
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_1
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_1
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- check-cast v0, Lf/h/a/f/k/b/e/i;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-static {v1}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v2}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-virtual {v0, v1}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v5
|
||||
-
|
||||
- .line 9
|
||||
- iget-object v6, v2, Lcom/google/android/gms/nearby/messages/PublishOptions;->b:Lf/h/a/f/k/b/b;
|
||||
-
|
||||
- .line 10
|
||||
- invoke-virtual {v0, v6}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v6
|
||||
-
|
||||
- new-instance v7, Lf/h/a/f/k/b/e/r;
|
||||
-
|
||||
- invoke-direct {v7, v0, v6, v5}, Lf/h/a/f/k/b/e/r;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v6, Lf/h/a/f/k/b/e/j;
|
||||
-
|
||||
- invoke-direct {v6, v0, v1, v7, v2}, Lf/h/a/f/k/b/e/j;-><init>(Lf/h/a/f/k/b/e/i;Lcom/google/android/gms/nearby/messages/Message;Lf/h/a/f/k/b/e/b0;Lcom/google/android/gms/nearby/messages/PublishOptions;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/k;
|
||||
-
|
||||
- invoke-direct {v2, v1}, Lf/h/a/f/k/b/e/k;-><init>(Lcom/google/android/gms/nearby/messages/Message;)V
|
||||
-
|
||||
- invoke-virtual {v0, v5, v6, v2}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 11
|
||||
- invoke-static {v3}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- invoke-static {v4}, Lf/g/j/k/a;->t(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
-
|
||||
- .line 12
|
||||
- iget-object v1, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->a:Lcom/google/android/gms/nearby/messages/Strategy;
|
||||
-
|
||||
- .line 13
|
||||
- iget v1, v1, Lcom/google/android/gms/nearby/messages/Strategy;->k:I
|
||||
-
|
||||
- if-nez v1, :cond_0
|
||||
-
|
||||
- const/4 v1, 0x1
|
||||
-
|
||||
- goto :goto_0
|
||||
-
|
||||
- :cond_0
|
||||
- const/4 v1, 0x0
|
||||
-
|
||||
- :goto_0
|
||||
- const-string v2, "Strategy.setBackgroundScanMode() is only supported by background subscribe (the version which takes a PendingIntent)."
|
||||
-
|
||||
- .line 14
|
||||
- invoke-static {v1, v2}, Lf/g/j/k/a;->i(ZLjava/lang/Object;)V
|
||||
-
|
||||
- invoke-virtual {v0, v3}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v1
|
||||
-
|
||||
- .line 15
|
||||
- iget-object v2, v4, Lcom/google/android/gms/nearby/messages/SubscribeOptions;->c:Lf/h/a/f/k/b/d;
|
||||
-
|
||||
- .line 16
|
||||
- invoke-virtual {v0, v2}, Lf/h/a/f/k/b/e/i;->i(Ljava/lang/Object;)Lf/h/a/f/f/h/i/k;
|
||||
-
|
||||
- move-result-object v2
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/s;
|
||||
-
|
||||
- invoke-direct {v3, v0, v2, v1}, Lf/h/a/f/k/b/e/s;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- new-instance v2, Lf/h/a/f/k/b/e/l;
|
||||
-
|
||||
- invoke-direct {v2, v0, v1, v3, v4}, Lf/h/a/f/k/b/e/l;-><init>(Lf/h/a/f/k/b/e/i;Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/d0;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)V
|
||||
-
|
||||
- new-instance v3, Lf/h/a/f/k/b/e/m;
|
||||
-
|
||||
- invoke-direct {v3, v1}, Lf/h/a/f/k/b/e/m;-><init>(Lf/h/a/f/f/h/i/k;)V
|
||||
-
|
||||
- invoke-virtual {v0, v1, v2, v3}, Lf/h/a/f/k/b/e/i;->g(Lf/h/a/f/f/h/i/k;Lf/h/a/f/k/b/e/a0;Lf/h/a/f/k/b/e/a0;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_1
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 475,482 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 698,717 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 571,577 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1334.patch
Normal file
99
resources/old-patches/nonearby/1334.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-11-16 13:22:49.797198145 +0000
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-11-16 13:33:15.674833097 +0000
|
||||
***************
|
||||
*** 463,517 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->f(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->g(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 463,470 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 599,618 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 552,558 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
99
resources/old-patches/nonearby/1339.patch
Normal file
99
resources/old-patches/nonearby/1339.patch
Normal file
|
@ -0,0 +1,99 @@
|
|||
diff -crB from/smali/com/discord/widgets/friends/NearbyManager.smali to/smali/com/discord/widgets/friends/NearbyManager.smali
|
||||
*** from/smali/com/discord/widgets/friends/NearbyManager.smali 2020-11-16 13:22:49.797198145 +0000
|
||||
--- to/smali/com/discord/widgets/friends/NearbyManager.smali 2020-11-16 13:33:15.674833097 +0000
|
||||
***************
|
||||
*** 463,517 ****
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 9
|
||||
|
||||
- .line 1
|
||||
- iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
|
||||
-
|
||||
- if-eqz v0, :cond_0
|
||||
-
|
||||
- .line 2
|
||||
- iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
|
||||
-
|
||||
- if-eqz v1, :cond_0
|
||||
-
|
||||
- .line 3
|
||||
- iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
|
||||
-
|
||||
- if-eqz v2, :cond_0
|
||||
-
|
||||
- .line 4
|
||||
- iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
|
||||
-
|
||||
- if-eqz v3, :cond_0
|
||||
-
|
||||
- .line 5
|
||||
- iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
|
||||
-
|
||||
- if-eqz v4, :cond_0
|
||||
-
|
||||
- .line 6
|
||||
- iget-object v5, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyStateSubject:Lrx/subjects/BehaviorSubject;
|
||||
-
|
||||
- new-instance v6, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;
|
||||
-
|
||||
- new-instance v7, Ljava/util/HashSet;
|
||||
-
|
||||
- iget-object v8, p0, Lcom/discord/widgets/friends/NearbyManager;->nearbyUserIds:Ljava/util/HashSet;
|
||||
-
|
||||
- invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
|
||||
-
|
||||
- invoke-direct {v6, v7}, Lcom/discord/widgets/friends/NearbyManager$NearbyState$Connected;-><init>(Ljava/util/Set;)V
|
||||
-
|
||||
- invoke-virtual {v5, v6}, Lrx/subjects/BehaviorSubject;->onNext(Ljava/lang/Object;)V
|
||||
-
|
||||
- .line 7
|
||||
- invoke-virtual {v0, v1, v2}, Lcom/google/android/gms/nearby/messages/MessagesClient;->f(Lcom/google/android/gms/nearby/messages/Message;Lcom/google/android/gms/nearby/messages/PublishOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- .line 8
|
||||
- invoke-virtual {v0, v3, v4}, Lcom/google/android/gms/nearby/messages/MessagesClient;->g(Lcom/google/android/gms/nearby/messages/MessageListener;Lcom/google/android/gms/nearby/messages/SubscribeOptions;)Lcom/google/android/gms/tasks/Task;
|
||||
-
|
||||
- :cond_0
|
||||
return-void
|
||||
.end method
|
||||
|
||||
--- 463,470 ----
|
||||
|
||||
# virtual methods
|
||||
.method public final activateNearby()V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
||||
|
||||
***************
|
||||
*** 599,618 ****
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 1
|
||||
!
|
||||
! .line 1
|
||||
! invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
||||
!
|
||||
! move-result-object v0
|
||||
!
|
||||
! iput-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->meUserId:Ljava/lang/Long;
|
||||
!
|
||||
! .line 2
|
||||
! invoke-direct {p0, p1, p2}, Lcom/discord/widgets/friends/NearbyManager;->setupBroadcaster(J)V
|
||||
!
|
||||
! .line 3
|
||||
! invoke-direct {p0}, Lcom/discord/widgets/friends/NearbyManager;->setupListener()V
|
||||
|
||||
return-void
|
||||
.end method
|
||||
--- 552,558 ----
|
||||
.end method
|
||||
|
||||
.method public final initialize(J)V
|
||||
! .locals 0
|
||||
|
||||
return-void
|
||||
.end method
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue