Skip to content

Comments

Support Andorid 15 beta 4.2#115

Merged
yujincheng08 merged 2 commits intoLSPosed:mainfrom
JingMatrix:main
Aug 21, 2024
Merged

Support Andorid 15 beta 4.2#115
yujincheng08 merged 2 commits intoLSPosed:mainfrom
JingMatrix:main

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

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