Releases: agnostic-apollo/XLogcatManager
Releases · agnostic-apollo/XLogcatManager
v0.2.0
Changelog
v0.2.0 - 2024-01-28 00.25
Changed
- Bump
compileSdkVersion
andtargetSdkVersion
to34
. (eb600e3a
)
Fixed
-
Fix hooking for Android 13 newer revisions
- The static final int fields were being optimized out during build time and references were replaced with literal value. This caused the
NoSuchFieldError
exception to be thrown when getting the field values withXposedHelpers.getIntField()
. To fix this, ported over static values directly intoXLogcatManagerService
class instead of getting them dynamically, the field values haven't still been changed in Android 14, so not an issue for now. - The
LogcatManagerService$LogcatManagerServiceInternal
class has been replaced withLogcatManagerService$$LogAccessDialogCallback
in AOSP, which caused theClassNotFoundError
to be thrown. To fix this, we first attempt to getLogcatManagerServiceInternal
and if that fails, then we useLogAccessDialogCallback
. https://cs.android.com/android/_/android/platform/frameworks/base/+/db1ed6fa670ad261b81d1886cb947f235e3ce802 - The
LogAccessDialogActivity
class has been moved from system server to system UI package, which caused theClassNotFoundError
to be thrown. To fix this, we now hook thecom.android.systemui
package as well and we attempt to hook for bothandroid
andcom.android.systemui
packages, and ifcom.android.server.logcat.LogAccessDialogActivity
class is found, we hook its methods and ifcom.android.systemui.logcat.LogAccessDialogActivity
class is found, we hook its methods instead. Users who are updating the app instead of a new install will need to manually enableSystem UI
in (LSPosed) module scope forXLogcatManager
.. https://cs.android.com/android/_/android/platform/frameworks/base/+/fc13cb1d680d57ea6401e2d45dfb1e46bf046fc7
Closes #2
(
cdace1a6
) - The static final int fields were being optimized out during build time and references were replaced with literal value. This caused the
v0.1.0
Initial release.