Skip to content

Commit

Permalink
refactor(core): unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
rhunk committed Nov 11, 2023
1 parent 9618392 commit ff79f20
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ class HalfSwipeNotifier : Feature("Half Swipe Notifier", loadParams = FeatureLoa
presenceService = it.thisObject()
}

PendingIntent::class.java.methods.find { it.name == "getActivity" }?.hook(HookStage.BEFORE) { param ->
context.log.verbose(param.args().toList())
}

context.mappings.getMappedClass("callbacks", "PresenceServiceDelegate")
.hook("notifyActiveConversationsChanged", HookStage.BEFORE) {
val activeConversations = presenceService::class.java.methods.find { it.name == "getActiveConversations" }?.invoke(presenceService) as? Map<*, *> ?: return@hook // conversationId, conversationInfo (this.mPeekingParticipants)
Expand Down

0 comments on commit ff79f20

Please sign in to comment.