mirror of
https://github.com/areteruhiro/LIME-beta-hiro.git
synced 2025-02-11 07:51:37 +09:00
Remove debugging messages
This commit is contained in:
parent
77907b034a
commit
1a09b6bb30
@ -32,11 +32,8 @@ public class PreventUnsendMessage implements IHook {
|
||||
if (type.toString().equals("NOTIFIED_DESTROY_MESSAGE")) {
|
||||
typeField.set(operation, type.getClass().getMethod("valueOf", String.class).invoke(operation, "DUMMY"));
|
||||
} else if (type.toString().equals("RECEIVE_MESSAGE")) {
|
||||
XposedBridge.log("RECEIVE_MESSAGE");
|
||||
Object message = operation.getClass().getDeclaredField("j").get(operation);
|
||||
XposedBridge.log(message.toString());
|
||||
Map<String, String> contentMetadata = (Map<String, String>) message.getClass().getDeclaredField("k").get(message);
|
||||
XposedBridge.log(String.valueOf(contentMetadata));
|
||||
contentMetadata.remove("UNSENT");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user