forked from distok/cutthecord
		
	Update patches to v8.5.4
Fixed top bar. Unofficial v8.5.4 changelog: - Full implementation of news https://cdn.discordapp.com/attachments/448273769153298452/551511285582397471/Screenshot_20190303-000846.png - Fun placeholders such as <string name="premium_subtitle_mobile">Something that would a mobile user want to care about buying Nitro chat perks with the bonus of some free pc games.</string>
This commit is contained in:
		
							parent
							
								
									b8a50ce2e0
								
							
						
					
					
						commit
						4c3ff4ad3f
					
				
					 39 changed files with 6490 additions and 1 deletions
				
			
		
							
								
								
									
										87
									
								
								patches/nonearby/854.patch
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										87
									
								
								patches/nonearby/854.patch
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,87 @@
 | 
			
		|||
diff -crB -x dist -x build com.discord-833-base/smali/com/discord/widgets/friends/NearbyManager.smali com.discord-833/smali/com/discord/widgets/friends/NearbyManager.smali
 | 
			
		||||
*** com.discord-833-base/smali/com/discord/widgets/friends/NearbyManager.smali	2019-01-23 11:03:47.459035497 +0300
 | 
			
		||||
--- com.discord-833/smali/com/discord/widgets/friends/NearbyManager.smali	2019-01-23 11:23:00.200709501 +0300
 | 
			
		||||
***************
 | 
			
		||||
*** 440,512 ****
 | 
			
		||||
  
 | 
			
		||||
  # virtual methods
 | 
			
		||||
  .method public final activateNearby()V
 | 
			
		||||
!     .locals 9
 | 
			
		||||
! 
 | 
			
		||||
!     .line 58
 | 
			
		||||
!     iget-object v0, p0, Lcom/discord/widgets/friends/NearbyManager;->messagesClient:Lcom/google/android/gms/nearby/messages/MessagesClient;
 | 
			
		||||
! 
 | 
			
		||||
!     if-nez v0, :cond_0
 | 
			
		||||
! 
 | 
			
		||||
!     return-void
 | 
			
		||||
! 
 | 
			
		||||
!     .line 59
 | 
			
		||||
!     :cond_0
 | 
			
		||||
!     iget-object v1, p0, Lcom/discord/widgets/friends/NearbyManager;->outboundMessage:Lcom/google/android/gms/nearby/messages/Message;
 | 
			
		||||
! 
 | 
			
		||||
!     if-nez v1, :cond_1
 | 
			
		||||
! 
 | 
			
		||||
!     return-void
 | 
			
		||||
! 
 | 
			
		||||
!     .line 60
 | 
			
		||||
!     :cond_1
 | 
			
		||||
!     iget-object v2, p0, Lcom/discord/widgets/friends/NearbyManager;->messagePublishOptions:Lcom/google/android/gms/nearby/messages/PublishOptions;
 | 
			
		||||
! 
 | 
			
		||||
!     if-nez v2, :cond_2
 | 
			
		||||
! 
 | 
			
		||||
!     return-void
 | 
			
		||||
! 
 | 
			
		||||
!     .line 61
 | 
			
		||||
!     :cond_2
 | 
			
		||||
!     iget-object v3, p0, Lcom/discord/widgets/friends/NearbyManager;->messageListener:Lcom/google/android/gms/nearby/messages/MessageListener;
 | 
			
		||||
! 
 | 
			
		||||
!     if-nez v3, :cond_3
 | 
			
		||||
! 
 | 
			
		||||
!     return-void
 | 
			
		||||
! 
 | 
			
		||||
!     .line 62
 | 
			
		||||
!     :cond_3
 | 
			
		||||
!     iget-object v4, p0, Lcom/discord/widgets/friends/NearbyManager;->subscribeOptions:Lcom/google/android/gms/nearby/messages/SubscribeOptions;
 | 
			
		||||
! 
 | 
			
		||||
!     if-nez v4, :cond_4
 | 
			
		||||
! 
 | 
			
		||||
!     return-void
 | 
			
		||||
! 
 | 
			
		||||
!     .line 64
 | 
			
		||||
!     :cond_4
 | 
			
		||||
!     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;
 | 
			
		||||
! 
 | 
			
		||||
!     check-cast v8, Ljava/util/Collection;
 | 
			
		||||
! 
 | 
			
		||||
!     invoke-direct {v7, v8}, Ljava/util/HashSet;-><init>(Ljava/util/Collection;)V
 | 
			
		||||
! 
 | 
			
		||||
!     check-cast v7, Ljava/util/Set;
 | 
			
		||||
! 
 | 
			
		||||
!     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 66
 | 
			
		||||
!     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/g;
 | 
			
		||||
! 
 | 
			
		||||
!     .line 67
 | 
			
		||||
!     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/g;
 | 
			
		||||
! 
 | 
			
		||||
      return-void
 | 
			
		||||
  .end method
 | 
			
		||||
  
 | 
			
		||||
--- 440,446 ----
 | 
			
		||||
  
 | 
			
		||||
  # virtual methods
 | 
			
		||||
  .method public final activateNearby()V
 | 
			
		||||
!     .locals 0
 | 
			
		||||
      return-void
 | 
			
		||||
  .end method
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -18,4 +18,5 @@ This patch nulls a bunch of nearby friends features for privacy.
 | 
			
		|||
- 8.5.0
 | 
			
		||||
- 8.5.1
 | 
			
		||||
- 8.5.3
 | 
			
		||||
- 8.5.4
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue