Skip to content

Commit 7ce14b8

Browse files
committed
RFC: Remove deprecated api
1 parent 656f5ca commit 7ce14b8

2 files changed

Lines changed: 0 additions & 30 deletions

File tree

api/src/main/java/io/github/libxposed/api/XposedInterface.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -459,26 +459,6 @@ interface CtorHookHandle<T> extends HookHandle<Constructor<T>> {
459459
*/
460460
void log(int priority, @Nullable String tag, @NonNull String msg, @Nullable Throwable tr);
461461

462-
/**
463-
* Writes a message to the Xposed log.
464-
* @deprecated Use {@link #log(int, String, String, Throwable)} instead.
465-
* This method is kept for compatibility with old hooker classes and will be removed in first release version.
466-
*
467-
* @param message The log message
468-
*/
469-
@Deprecated
470-
void log(@NonNull String message);
471-
472-
/**
473-
* Writes a message with a stack trace to the Xposed log.
474-
* @deprecated Use {@link #log(int, String, String, Throwable)} instead.
475-
*
476-
* @param message The log message
477-
* @param throwable The Throwable object for the stack trace
478-
*/
479-
@Deprecated
480-
void log(@NonNull String message, @NonNull Throwable throwable);
481-
482462
/**
483463
* Parse a dex file in memory.
484464
*

api/src/main/java/io/github/libxposed/api/XposedInterfaceWrapper.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,6 @@ public final void log(int priority, @Nullable String tag, @NonNull String msg, @
118118
mBase.log(priority, tag, msg, tr);
119119
}
120120

121-
@Override
122-
public final void log(@NonNull String message) {
123-
mBase.log(message);
124-
}
125-
126-
@Override
127-
public final void log(@NonNull String message, @NonNull Throwable throwable) {
128-
mBase.log(message, throwable);
129-
}
130-
131121
@Nullable
132122
@Override
133123
public final DexParser parseDex(@NonNull ByteBuffer dexData, boolean includeAnnotations) throws IOException {

0 commit comments

Comments
 (0)