commit ff79f2009d7ac6ccde0c28dc9af48fb9fd050f70
parent 96183921dc5febaa4bbbfdea936f08f038e6c0a6
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date:   Sat, 11 Nov 2023 23:35:35 +0100

refactor(core): unused code

Diffstat:
Mcore/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/spying/HalfSwipeNotifier.kt | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/spying/HalfSwipeNotifier.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/spying/HalfSwipeNotifier.kt @@ -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)