Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Andorid 15 beta 4.2 #115

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Support Andorid 15 beta 4.2 #115

merged 2 commits into from
Aug 21, 2024

Conversation

JingMatrix
Copy link
Contributor

In Android 15, class ParsedPackage is in the package com.android.internal.pm.parsing.pkg. See https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ParsedPackage.java;

The module is tested with JingMatrix/LSPosed on Android 15 beta 4.2

public class CorePatchForV extends CorePatchForU {
@Override
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam loadPackageParam) throws IllegalAccessException, InvocationTargetException, InstantiationException {
super.handleLoadPackage(loadPackageParam);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this override a must?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, not at all.
It is only a stub for further modification when Android 15 is released.
Do you wanna me to remove it ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove it for now.

In Android 15, class ParsedPackage is in the package `com.android.internal.pm.parsing.pkg`.
See https://cs.android.com/android/platform/superproject/main/+/main:frameworks/base/core/java/com/android/internal/pm/parsing/pkg/ParsedPackage.java;

The module is tested with [JingMatrix/LSPosed](https://github.com/JingMatrix/LSPosed) on Android 15 beta 4.2
@JingMatrix
Copy link
Contributor Author

Okay, changed as requested @yujincheng08

@yujincheng08 yujincheng08 merged commit 84f05c4 into LSPosed:main Aug 21, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants